is this proper sql?

Поиск
Список
Период
Сортировка
От clayton cottingham
Тема is this proper sql?
Дата
Msg-id 3ADC9EB4.C8E80451@smartt.com
обсуждение исходный текст
Ответы Re: is this proper sql?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: is this proper sql?  (David Olbersen <dave@slickness.org>)
Re: is this proper sql?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: is this proper sql?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
hi one of the developers here at work say this should workinsert into detail (det_id,det_mas_id,det_date,det_amt)
values
 
(0,0,now(),'0'), (1,1,now(),'1');



but when i try that in postgres like:insert into detail (det_id,det_mas_id,det_date,det_amt) values 
(0,0,datetime'now','0'), (1,1,datetime'now','1');

i get
ERROR:  parser: parse error at or near ","


now i personally dont think this is real sql
anyone?


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

Предыдущее
От: John Hasler
Дата:
Сообщение: Re: function to format floats as money?
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: RTREE on points