Re: SQL Date Challenge

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: SQL Date Challenge
Date: 2001-06-04 21:32:49
Message-ID: web-66974@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2001-06-04 21:39:26 Re: seleting all dates between two dates
Previous Message Peter Eisentraut 2001-06-04 21:30:33 Re: SQL Date Challenge