| От | Brian Ward |
|---|---|
| Тема | Re: timestamp |
| Дата | |
| Msg-id | anpl6g$1i4$1@news.hub.org обсуждение |
| Ответ на | timestamp ("Brian Ward" <brian0@verizon.net>) |
| Список | pgsql-sql |
I think I got it but I'm not sure if it's correct. I put the default as CURRENT_TIMESTAMP but I though I had read that was being taken out and only now was supported? Does anyone know? "Brian Ward" <brian0@verizon.net> wrote in message news:anphrb$24se$1@news.hub.org... > How do I create a time stamp column in a table that default to the current > time > when a row is inserted? > I tried putting in now() as the default but I have something wrong > with the syntax or something I think > Any one have an example of a table creation script that has a timestamp > column? > >
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера