From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: using EXECUTE on Selects
Date: Wed, 11 Jul 2007 12:52:44 -0400
Message-ID: <20070711165243.GV1241@phlogiston.dyndns.org> (raw)
In-Reply-To: <25474.63.118.86.10.1184172081.squirrel@www.88thstreet.com>
References: <25474.63.118.86.10.1184172081.squirrel@www.88thstreet.com>
On Wed, Jul 11, 2007 at 12:41:21PM -0400, Radhika Sambamurti wrote:
> I was hoping to write a function where I can build up my where clause
> (dynamic sql) and use the EXECUTE command with it. But I just read that
> the SELECT INTO has not been implemented for use with EXECUTE.
>
> Is there a way to select data using EXECUTE?
You missed the opening sentence of the previous paragraph:
The INTO clause specifies where the results of a SELECT
command should be assigned.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
The whole tendency of modern prose is away from concreteness.
--George Orwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ajs@crankycanuck.ca
Subject: Re: using EXECUTE on Selects
In-Reply-To: <20070711165243.GV1241@phlogiston.dyndns.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox