From: | "Guy Rouillier" <guyr(at)masergy(dot)com> |
---|---|
To: | "PostgreSQL General" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: oracle script to postgresql |
Date: | 2005-04-11 21:41:44 |
Message-ID: | CC1CF380F4D70844B01D45982E671B239E8734@mtxexch01.add0.masergy.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
FERREIRA William (COFRAMI) wrote:
> hi,
>
> i'm trying to port an oracle script to postgresql, but i don't find
> any alternative for some problems this is an extract of the oracle
> script :
>
> DEFINE MDNSImportBlobDirectory =
> C:\Temp\_lm_\ExternalTablesSpace\mdns;
> @createFraweWorkTables_script.ddl; @createMDNSProcStockImport.sql
> &MDNSImportBlobDirectory;
>
> so i need to declare variables and to pass them to others script
>
> is there any alternative for doing this ?
You can define variables in PG functions and pass them to other
functions:
DECLARE
numRows integer := 5;
BEGIN
perform add_5_min_table(numRows);
--
Guy Rouillier
From | Date | Subject | |
---|---|---|---|
Next Message | Ragnar Hafstað | 2005-04-11 22:28:11 | Re: Unique constraint violation on serial column |
Previous Message | Thomas F.O'Connell | 2005-04-11 21:36:09 | Re: error with vacuumdb |