i create a table emp in oracle as below
create table emp(eid int,ename varchar2(30),esal long,edoj date);
when i insert data in this table it is showing problem in date datatype
how can i handle this
plz assist me ....
Problem with Date datatype in oracle
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Abhay ShankerRank #375 · 6.7K reputationPosted Mar 25, 2014, 5:52 AM EDT
INSERT INTO emp VALUES(1,Vipin,50000,TO_TIMESTAMP('27.09.2012 01:12:12.3456','DD.MM.YYYY HH24:MI:SSXFF'));
Vipin TyagiRank #868 · 2.5K reputationPosted Mar 25, 2014, 7:15 AM EDT