SANbuddies
asked on
date format
It may sound a silly question but I am trying to achieve the following.
-- How to change the data format reported by the database? currenty the date is reported as MM/DD/YYYY with the timestamp by the database,
--I want to report it as YYYY/MM/DD and without the timestamp.
Any suggestions?
-- How to change the data format reported by the database? currenty the date is reported as MM/DD/YYYY with the timestamp by the database,
--I want to report it as YYYY/MM/DD and without the timestamp.
Any suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here is the doc link for NLS_DATE_FORMAT:
http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams144.htm
http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams144.htm
to_char(date_column,'YYYY/
or
set NLS_DATE_FORMAT.