PostGreSQL Date Query? - Mailing list pgsql-jdbc

From Lennie De Villiers
Subject PostGreSQL Date Query?
Date
Msg-id !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA7eJwAxNWM0C1nHgqelJlQsKAAAAQAAAA/2qJuDRRtES178L9Pf40owEAAAAA@lando.co.za
Whole thread Raw
Responses Re: PostGreSQL Date Query?
Re: PostGreSQL Date Query?
Re: PostGreSQL Date Query?
List pgsql-jdbc

Hi,


I'm using Java together with PostGreSQL database.



I'm having a problem with a date query, when I write:



select sRescheduleDate, * from tbl_leads

where sRescheduleDate >= '01/01/2005' AND sRescheduleDate <= '28/01/2005'

and bRescheduleCall = true 



the query also return the values for "01/04/2005" where it should only
return those between that date range.

Anyone can help me.



Using Java 2 SE 1.4.2, PostGreSQL 8.0


Kind Regards,



Lennie De Villiers

pgsql-jdbc by date:

Previous
From: Charl Gerber
Date:
Subject: timestamp issues
Next
From: Oliver Jowett
Date:
Subject: Re: timestamp issues