| От | wsheldah@lexmark.com |
|---|---|
| Тема | Re: Inserting the current date |
| Дата | |
| Msg-id | 200112101623.LAA14682@interlock2.lexmark.com обсуждение исходный текст |
| Ответ на | Inserting the current date ("john" <servobit@m.r.c>) |
| Список | pgsql-general |
The now function will insert the current date and time: insert into my_table( my_date_field ) values ( sysdate ); --Wes Sheldahl "john" <servobit%www2.us.postgresql.org@interlock.lexmark.com> on 12/08/2001 05:49:29 PM To: pgsql-general%postgresql.org@interlock.lexmark.com cc: (bcc: Wesley Sheldahl/Lex/Lexmark) Subject: [GENERAL] Inserting the current date 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера