Re: function for current date-time

Поиск
Список
Период
Сортировка
От Bricklen Anderson
Тема Re: function for current date-time
Дата
Msg-id 4533D74A.6020706@presinet.com
обсуждение исходный текст
Ответ на function for current date-time  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
Список pgsql-general
Harpreet Dhaliwal wrote:
> Hi,
> I have a timestamp field in my table and want to set a default value of
> current date/time for it.
> What should i enter as its default value? is there any function like
> now() in postgres?
>
> Thanks,
> ~Harpreet

http://www.postgresql.org/docs/8.1/interactive/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT

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

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: difference b/w text and varchar datatypes
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: RES: Dates rejected