Re: [SQL] Date comparisons - Mailing list pgsql-sql

From Haris Susanto
Subject Re: [SQL] Date comparisons
Date
Msg-id 10698.991028@dnet.net.id
Whole thread Raw
List 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 by date:

Previous
From: Rich Ryan
Date:
Subject: Setting default row value after select into table
Next
From: "Imtiaz. S. M"
Date:
Subject: SQL Problem