7 Dec 2005 14:53
Re: inital_insert.sql and Oracle
Florent Guiliani <fguiliani <at> perinfo.com>
2005-12-07 13:53:57 GMT
2005-12-07 13:53:57 GMT
Florent Guiliani a écrit : > > current_timestamp doesn't exist, Oracle use instead sysdate. after replaced all current_timestamp with sysdate, others statments are invalids because some right-quote are missing. Here is the patch in attachment. Florent,
--- initial_insert.sql.orig Wed Dec 7 14:52:34 2005
+++ initial_insert.sql Wed Dec 7 14:52:45 2005
<at> <at> -240,456 +240,480 <at> <at>
INSERT INTO valid
(name, create_by, create_time, change_by, change_time)
VALUES
- ('valid', 1, current_timestamp, 1, current_timestamp);
+ ('valid', 1, sysdate, 1, sysdate);
INSERT INTO valid
(name, create_by, create_time, change_by, change_time)
VALUES
- ('invalid', 1, current_timestamp, 1, current_timestamp);
+ ('invalid', 1, sysdate, 1, sysdate);
INSERT INTO valid
(name, create_by, create_time, change_by, change_time)
VALUES
- ('invalid-temporarily', 1, current_timestamp, 1, current_timestamp);
(Continue reading)
RSS Feed