Re: [GENERAL] Date & Time

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Date & Time
Дата
Msg-id 199912011950.OAA04319@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Date & Time  (jose soares <jose@sferacarta.com>)
Ответы Re: [GENERAL] Date & Time
Re: [GENERAL] Date & Time
Re: [GENERAL] Date & Time
Список pgsql-general
> Ed Loehr ha scritto:
>
> > Just curious:  anyone have any comment on any practical differences between now() and CURRENT_TIMESTAMP, which
seemsto work 
> > the same?
> >
>
> I think it is the same function, both of them return the current date and time.
>
> now() should be the internal postgreSQL function.
> and CURRENT_TIMESTAMP is the exact SQL-92 syntax

I am changing my book to use CURRENT_TIMESTAMP rather than now().

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Satyajeet Seth
Дата:
Сообщение: Except operation
Следующее
От: Jason Leach
Дата:
Сообщение: The Ghost.