From: Josh Berkus <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Subject: Re: SQL Date Challenge
Date: Mon, 04 Jun 2001 14:32:49 -0700
Message-ID: <web-66974@davinci.ethosmedia.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0106042323430.768-100000@peter.localdomain>
Peter, Alex,
> You can't easily build data out of nothing in a declarative way in
> SQL.
> Basically, if you want a list of data you either need to put them in
> a
> table (which you don't want) or list them in the command itself
> (which you
> can't). This isn't made easier by the fact that functions currently
> can't
> return sets without extreme wizardry.
Thanks for the feedback ... it's good to know at least when something is
impossible.
Looks like I'll have to build a nightly table of all Wednesdays in the
last 90 days using PL/pgSQL.
-Josh Berkus
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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: josh@agliodbs.com
Subject: Re: SQL Date Challenge
In-Reply-To: <web-66974@davinci.ethosmedia.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