Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2CK4Ux56351 for ; Mon, 12 Mar 2001 15:04:30 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 23696 for ; Mon, 12 Mar 2001 12:03:58 -0800 From: "Josh Berkus" Subject: Re:Comparing Dates To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Mon, 12 Mar 2001 12:03:58 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/228 X-Sequence-Number: 1884 David, Please post your tabledefs and the full query definition. Aside from the need for an explicit typecast (i.e. '2000-03-02'::date) and the lack of clarity on month vs. day (March 2 or February 3?), seeing the whole picture would help. -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