How can u convert the Date to String?

Answer Posted / anil singh

iN PL/SQL WE USE TO_CHAR FUNCTION
SELECT TO_CHAR(SYSDATE,'MI','HH:MM:SS' FROM TABLE NAME

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between views and tables?

637


What is a with(nolock)?

753


How to sort the query output with order by clauses in ms sql server?

815


How to change the name of a database user?

733


Explain different types of Normalization.

1171






Is mysql the same as sql server?

684


Will the writetext statement activate a trigger?

744


What is rtm version in sql server?

696


what is a default tcp/ip socket assigned for sql server? : Sql server database administration

757


What is executereader?

724


What are the new data types are introduced in sql 2000?

669


If no size is defined while creating the database, what size will the database have?

744


Tell me the use of keyword with encryption. Create a store procedure with encryption?

749


How many partitions a clustered index has by default in sql server 2012?

850


What are the main sources of data?

804