From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Exec a text variable as select |
Date: | 2007-06-18 13:19:00 |
Message-ID: | 20070618131900.GH11387@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
am Mon, dem 18.06.2007, um 10:14:32 -0300 mailte Ranieri Mazili folgendes:
> Hello,
>
> I'm creating a function that will create a select statement into a
> while, this select will be stored into a text variable, after while ends
> I need to execute this query stored into variable, on SQLSERVER I can do:
> EXEC(text_variable)
> How can I do this on Postgres?
With EXECUTE.
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
From | Date | Subject | |
---|---|---|---|
Next Message | Francisco Reyes | 2007-06-18 13:38:04 | Re: Loop through all views with PHP |
Previous Message | Ranieri Mazili | 2007-06-18 13:14:32 | Exec a text variable as select |
From | Date | Subject | |
---|---|---|---|
Next Message | Ranieri Mazili | 2007-06-18 14:29:43 | Setting variable |
Previous Message | Ranieri Mazili | 2007-06-18 13:14:32 | Exec a text variable as select |