Re: [SQL] Date comparisons

Поиск
Список
Период
Сортировка
От Haris Susanto
Тема Re: [SQL] Date comparisons
Дата
Msg-id 10698.991028@dnet.net.id
обсуждение исходный текст
Список pgsql-sql
psd> hello ,try this :
psd> select * from a where a.cdate < '10-20-1999' ;

psd> regards,
psd> omid omoomi

-----
Usually I use this :
select * from a where date_trunc('day',cdate) < '10-20-1999';


Best regards,
Haris                            mailto:hariss@dnet.net.id




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

Предыдущее
От: Rich Ryan
Дата:
Сообщение: Setting default row value after select into table
Следующее
От: "Imtiaz. S. M"
Дата:
Сообщение: SQL Problem