...

Поиск
Список
Период
Сортировка
От apratim sharma
Тема ...
Дата
Msg-id 20030413061947.62436.qmail@web21110.mail.yahoo.com
обсуждение исходный текст
Ответы Re:  ("Jordan S. Jones" <jordanj@racistnames.com>)
Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
hi,
 
Can anybody tell how to add an integer to a date inside postgres query.
 
i'm using postgres 7.3
 
when i give    select cast(now() as date) it gives the current date,
now i want to select a date say after 10 days.
i'm giving select cast(now() as date) +10 ; it gives error can't typecast date to int
 
what to do???
 
please help me
 
Apratim
 



Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: patch for cursor based querys in JDBC
Следующее
От: "Jordan S. Jones"
Дата:
Сообщение: Re: