How to write date and time literals in oracle?



How to write date and time literals in oracle?..

Answer / Mritunjay Tiwari

"TO_DATE('yyyy-mm-dd hh24:mi:ss', 'YYYY-MM-DD HH24:MI:SS')"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is a deadlock in SQL? How can you prevent it?

1 Answers  


what is cartesian product?

2 Answers  


How do I uninstall oracle 11g?

1 Answers  


What is E-R diagram ?

2 Answers   CGI, Keane India Ltd,


Give the various exception types.

1 Answers  


what is the syntax of UPDATE command?

8 Answers  


Explain the use of constraints option in exp command.

1 Answers  


What is oracle thin client?

1 Answers  


how to join query for one source type is oracle another source type is sql server ?

1 Answers   iGate,


what are stored procedures?

7 Answers   TCS, Wells Fargo,


Calculate difference between 2 date / times in oracle sql?

1 Answers  


Can cursor variables be stored in PL/SQL tables.If yes how. If not why?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)