Folks,

        Thanks for your suggestions.  Apparently I wasn't clear enough about
what I'm trying to do:

> > 
> > SELECT ALL Wednesdays BETWEEN 5/1/01 AND 6/1/01;
> > 
> 
> somthing like:
> 
> select date from xx where to_char(date,'fmdy') = 'wed';

        This doesn't solve my problem, as the suggestion above presupposes that
I have a temp table of all possible dates in the range, or
misunderstands that I am trying to find all Wednesdays in column x.

        I am trying to list all Wednesdays that are *not* in column x.  

        This requires me to build a list of all possible Wednesdays (within a
date range), preferably *without* first having a table of all dates in
existance!  Some sort of manipulation of the date processor should be
possible, shouldn't it?

-Josh Berkus


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      [EMAIL PROTECTED]
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to