Re: problem with date/time constants

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: problem with date/time constants
Дата
Msg-id 200107031331.f63DVQl18812@jupiter.us.greatbridge.com
обсуждение исходный текст
Ответ на problem with date/time constants  ("datactrl" <quals@bigfoot.com>)
Список pgsql-sql
datactrl wrote:
> Hi,
> server:PostgreSQl 7.1
> why doesn't following statement work?
> "select now;"
   Because it's not standard SQL and now is a function.
   Use either
       SELECT CURRENT_TIMESTAMP;
   which is standard (preferred) or
       SELECT now();


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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

Предыдущее
От: David Stanaway
Дата:
Сообщение: Re: problem with date/time constants
Следующее
От: Jeff Eckermann
Дата:
Сообщение: RE: How do I print a message in a function?