Re: Inserting the current date

Поиск
Список
Период
Сортировка
От Jason Earl
Тема Re: Inserting the current date
Дата
Msg-id 87bsh7c6rr.fsf@npa01zz001.simplot.com
обсуждение исходный текст
Ответ на Inserting the current date  ("john" <servobit@m.r.c>)
Список pgsql-general
What exactly does sysdate do?  Is it anything like CURRENT_TIME,
CURRENT_DATE, or now()?

Jason

"john" <servobit@www2.us.postgresql.org> writes:

> Hi,
>
> I have a field (Date type) and I'd like to insert the current date and time.
>
> e.g.:
>
> insert into my_table( my_date_field ) values ( sysdate );
>
> Is there an equivalent to Oracle's "sysdate" keyword?
>
> Thanks,
>
> John
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

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

Предыдущее
От: Troy.Campano@LibertyMutual.com
Дата:
Сообщение: Please ignore - test
Следующее
От: "Tim Nelson"
Дата:
Сообщение: ecpg - select * into structure problem