From: Scott Marlowe <smarlowe@g2switchworks.com>
To: cgg007@yahoo.com
Cc: pgsql-sql@postgresql.org
Subject: Re: empty set
Date: Thu, 08 Jun 2006 16:42:22 -0500
Message-ID: <1149802941.25526.279.camel@state.g2switchworks.com> (raw)
In-Reply-To: <20060608214012.96518.qmail@web37907.mail.mud.yahoo.com>
References: <20060608214012.96518.qmail@web37907.mail.mud.yahoo.com>
On Thu, 2006-06-08 at 16:40, CG wrote:
> PostgreSQL 8.1
>
> I've been trying to write a SQL prepare routine. One of the challenging
> elements I'm running into is an empty set ...
>
> "select foo from bar where foo in ? ;"
>
> What if "?" is an set with zero elements? What is the proper value to use to
> replace "?" indicating an empty set?
NULL?
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: smarlowe@g2switchworks.com, cgg007@yahoo.com
Subject: Re: empty set
In-Reply-To: <1149802941.25526.279.camel@state.g2switchworks.com>
* 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