| От | David Rugge |
|---|---|
| Тема | timestamps |
| Дата | |
| Msg-id | 99110221560802.00836@joplin обсуждение исходный текст |
| Ответы |
Re: [SQL] timestamps
|
| Список | pgsql-sql |
I created a table using this statement: create table timestamptest (creation_date timestamp default text 'now') But I get the creation date of the table instead of the date of the transaction. This is the format suggested in the manual to workaround the default value being set at table creation, but it doesn't work! What can I do to make a timestamp that is the date the row was inserted into the table? -- David Rugge http://www.mindspring.com/~davidrugge/index.html
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера