Re: problem with date/time constants

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема Re: problem with date/time constants
Дата
Msg-id Pine.BSO.4.10.10107030907520.7004-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на problem with date/time constants  ("datactrl" <quals@bigfoot.com>)
Список pgsql-sql
You must either do:
select now();

or

select 'now'::timestamp;

now() is a function that takes no arguments.

it is also a special value recognized by timestamp parser.


On Tue, 3 Jul 2001, datactrl wrote:

> Hi, 
> server:PostgreSQl 7.1
> why doesn't following statement work?
> "select now;"
> 
> THANK YOU!
> JACK LIU
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://www.postgresql.org/search.mpl
> 
> 



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

Предыдущее
От: "datactrl"
Дата:
Сообщение: problem with date/time constants
Следующее
От: David Stanaway
Дата:
Сообщение: Re: problem with date/time constants