How to convert dates to characters in oracle?



How to convert dates to characters in oracle?..

Answer / Arvind Kumar Gupta

To convert dates to characters in Oracle, you can use the TO_CHAR function. Here is an example: SELECT TO_CHAR(your_date_column, 'DD-MON-YYYY') FROM table_name; This will convert your_date_column to a character string in the format DD-MON-YYYY.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is the difference between SQL, DDL, and DML?

7 Answers   BeBo Technologies, Wipro,


how to clone 9i Database on to 10g Database.

1 Answers  


How to import one table back from a dump file?

1 Answers  


difference between oracle8i and oracle9i

4 Answers   NIIT,


What is a system tablespace?

1 Answers  


What is a private synonym?

1 Answers  


What is a OUTER JOIN?

1 Answers  


How to return top 5 rows in oracle?

1 Answers  


I'm doing my final year and i ve planned to do an oracle certification , is this the rit tim nd wat's the future scope??

1 Answers  


Write query to fetch second maximum salary from employee table.

4 Answers   Bravura Solutions, HCL,


Why do we need oracle client?

1 Answers  


What is the effect of setting the 'RULE' for OPTIMIER_GOAL parameter of the ALTER SESSION Command ?

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)