Sep 26, 2001 #1 shyamal Programmer Aug 14, 2000 79 US As oracle 8i only has a date datatype for conversions such as SQL how does one input time and timestamp into oracle? Thanks in advance.
As oracle 8i only has a date datatype for conversions such as SQL how does one input time and timestamp into oracle? Thanks in advance.
Sep 26, 2001 #2 carp MIS Sep 16, 1999 2,622 US By using the DATE datatype: INSERT INTO my_time_table VALUES to_date('25 December 2001 23:18:15','DD Month YYYY HH24:MI:SS'); Upvote 0 Downvote
By using the DATE datatype: INSERT INTO my_time_table VALUES to_date('25 December 2001 23:18:15','DD Month YYYY HH24:MI:SS');
Sep 26, 2001 #3 carp MIS Sep 16, 1999 2,622 US Although if you're timestamping stuff, SYSDATE will do the job with a lot less typing: INSERT INTO my_table(timestamp_column,...) VALUES (sysdate,...); Upvote 0 Downvote
Although if you're timestamping stuff, SYSDATE will do the job with a lot less typing: INSERT INTO my_table(timestamp_column,...) VALUES (sysdate,...);