Re: Dynamic SQL with pgsql, how to? - Mailing list pgsql-general

From Andre Lopes
Subject Re: Dynamic SQL with pgsql, how to?
Date
Msg-id n2z18f98e681005031450p91819fdawda1e72bec956ff0a@mail.gmail.com
Whole thread Raw
In response to Re: Dynamic SQL with pgsql, how to?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Responses Re: Dynamic SQL with pgsql, how to?
List pgsql-general
Thanks for the reply's,

I need to do a Dynamic SELECT INTO. There is a way of doing it?

Best Regards,


On Mon, May 3, 2010 at 10:05 AM, A. Kretschmer <andreas.kretschmer@schollglas.com> wrote:
In response to Andre Lopes :
> Hi,
>
> I need to write some dynamic SQL in pgsql.
> There is documentation on how can I do this in pgsql?

Sure,
http://www.postgresql.org/docs/8.4/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN

Regards, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Leif Biberg Kristensen
Date:
Subject: Re: GeSHi module for Postgresql?
Next
From: Alvaro Herrera
Date:
Subject: Re: GeSHi module for Postgresql?