Re: A Question

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: A Question
Дата
Msg-id Pine.GSO.4.02A.10005261446270.12244-100000@Falk.DoCS.UU.SE
обсуждение исходный текст
Ответ на A Question  ("Sherril Mathew" <m_sherril@hotmail.com>)
Список pgsql-sql
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



В списке pgsql-sql по дате отправления:

Предыдущее
От: Markus Wagner
Дата:
Сообщение: PG/DBI: 'NOTICE: UserAbortTransactionBlock and not in in-progress state'
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: aliases break my query