Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. INSERT INTO table1 values(<id>, <firstName>, <createdTime>);
  2.  
  3. INSERT INTO table1 values(1, "John", TIMESTAMP '06-APR-14 06.00.42.000000000 PM ASIA/SINGAPORE');
  4.  
  5. SQL Error: ORA-01843: not a valid month
  6. 01843. 00000 - "not a valid month"
  7.  
  8. INSERT INTO table1 values(1, 'John',
  9. TIMESTAMP '2014-04-06 18:00:42.0 ASIA/SINGAPORE');
  10.  
  11. INSERT INTO table1 values(2, 'John',
  12. TO_TIMESTAMP_TZ ('06-APR-14 06.00.42 PM ASIA/SINGAPORE',
  13. 'DD-MON-RR HH:MI:SS AM TZR'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement