Re: Comparing Dates - Mailing list pgsql-sql

From Nick Peters
Subject Re: Comparing Dates
Date
Msg-id 419D156C.5030302@candoltd.com
Whole thread Raw
In response to Re: Comparing Dates  (Ian Barwick <barwick@gmail.com>)
List pgsql-sql
Thanks, it turns out that the code that was executing the sql was 
flawed. Thanks to all that replied!

-Nick

Ian Barwick wrote:

>On Thu, 18 Nov 2004 15:01:58 -0600, Nick Peters
><nick.peters@candoltd.com> wrote:
>  
>
>>Hey,
>>
>>I am trying to compare dates in a sql statement. this is what i have tried:
>>
>>SELECT * FROM transactions WHERE shippingdate>2004-06-08 AND
>>transtype='Sale';
>>    
>>
>
>SELECT * FROM transactions WHERE shippingdate> '2004-06-08' AND 
>transtype='Sale';
>
>Ian Barwick
>
>---------------------------(end of broadcast)---------------------------
>TIP 7: don't forget to increase your free space map settings
>
>
>  
>



pgsql-sql by date:

Previous
From: Thomas F.O'Connell
Date:
Subject: Re: Comparing Dates
Next
From: Greg Stark
Date:
Subject: Re: Comparing Dates