Re: Dynamic SQL - Mailing list pgsql-general

From John Sidney-Woollett
Subject Re: Dynamic SQL
Date
Msg-id 41FE259A.3090406@wardbrook.com
Whole thread Raw
In response to Dynamic SQL  ("Mark Battersby" <mark.battersby@cvision.cn>)
List pgsql-general
Yes, it does. And it's a lot easier than DBMS_SQL too!

Look at the EXECUTE command in the pl/pgsql programming language.

See http://www.postgresql.org/docs/7.4/interactive/plpgsql-statements.html

John Sidney-Woollett

Mark Battersby wrote:

> Hi
>
>
>
> When looking at PostGres through the eyes of an Oracle Developer I was
> wondering if PostGres supports a feature called Dynamic SQL. Of course even
> better would be the ability to run PostGress/PL dynamically too.
>
>
>
> Dynamic SQL and Dynamic PL/SQL are useful when you don't know until runtime
> how your SQL or PL/SQL looks like.
>
>
>
> Any tips appreciated.
>
>
>
> /Mark
>
>
>
>

pgsql-general by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: 8.0.0 RC5-2 Processes/Interfaces Under Windows
Next
From: Shridhar Daithankar
Date:
Subject: Re: Dynamic SQL