Received: from meryl.it.uu.se (root@meryl.it.uu.se [130.238.12.42]) by hub.org (8.9.3/8.9.3) with ESMTP id IAA77539 for ; Fri, 26 May 2000 08:48:15 -0400 (EDT) (envelope-from e99re41@DoCS.UU.SE) Received: from Falk.DoCS.UU.SE (e99re41@Falk.DoCS.UU.SE [130.238.9.109]) by meryl.it.uu.se (8.8.5/8.8.5) with ESMTP id OAA17920; Fri, 26 May 2000 14:48:11 +0200 (MET DST) Received: from localhost (e99re41@localhost) by Falk.DoCS.UU.SE (8.6.12/8.6.12) with ESMTP id OAA12373; Fri, 26 May 2000 14:48:08 +0200 X-Authentication-Warning: Falk.DoCS.UU.SE: e99re41 owned process doing -bs Date: Fri, 26 May 2000 14:48:06 +0200 (MET DST) From: Peter Eisentraut Reply-To: Peter Eisentraut To: Sherril Mathew cc: pgsql-sql@postgreSQL.org Subject: Re: A Question In-Reply-To: <20000526105356.68304.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.org id IAA78744 X-Archive-Number: 200005/156 On Fri, 26 May 2000, Sherril Mathew wrote: > My one feild in the database is Date/time I want to find a range of > records which exists between two dates in the same date field in the > database SELECT * FROM table WHERE datetime_field between '1999-03-15' and '2000-10-23'; > Also tell me how to retreive all records from database where field which is > date time is null I am working on ASP and backend as ms-ACCESS SELECT * FROM table WHERE datetime_field is null; -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden