Re: date and time

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: date and time
Дата
Msg-id 47E7BDBC.9080602@iol.ie
обсуждение исходный текст
Ответ на date and time  ("Alain Roger" <raf.news@gmail.com>)
Ответы Re: date and time  ("Alain Roger" <raf.news@gmail.com>)
Список pgsql-general
On 24/03/2008 14:35, Alain Roger wrote:
> for that i use "select * from now();" and store the result into a column
> table.
>
> is there a easier way to do that ? i tried to store directly now();
> result but without success.

Can you show us the full SQL statement?

You could also use CURRENT_TIMESTAMP - look at the following:

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

HTH,

Ray.


---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
---------------------------------------------------------------

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

Предыдущее
От: "Alain Roger"
Дата:
Сообщение: date and time
Следующее
От: "Alain Roger"
Дата:
Сообщение: Re: date and time