Re: Comparing Dates

Поиск
Список
Период
Сортировка
От Nick Peters
Тема Re: Comparing Dates
Дата
Msg-id 419D156C.5030302@candoltd.com
обсуждение исходный текст
Ответ на Re: Comparing Dates  (Ian Barwick <barwick@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: Comparing Dates
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Comparing Dates