From: Peter Eisentraut <e99re41@DoCS.UU.SE>
To: Sherril Mathew <m_sherril@hotmail.com>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: A Question
Date: Fri, 26 May 2000 14:48:06 +0200 (MET DST)
Message-ID: <Pine.GSO.4.02A.10005261446270.12244-100000@Falk.DoCS.UU.SE> (raw)
In-Reply-To: <20000526105356.68304.qmail@hotmail.com>
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: e99re41@DoCS.UU.SE, m_sherril@hotmail.com
Subject: Re: A Question
In-Reply-To: <Pine.GSO.4.02A.10005261446270.12244-100000@Falk.DoCS.UU.SE>
References: <20000526105356.68304.qmail@hotmail.com> <Pine.GSO.4.02A.10005261446270.12244-100000@Falk.DoCS.UU.SE>
* 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