Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Oracle - Date format

Posted on 2013-11-13
1
Medium Priority
?
418 Views
Last Modified: 2013-11-13
How do I format sysdate to mm/dd/yyyy?
0
Comment
Question by:patriotpacer
1 Comment
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 39645796
to_char(sysdate,'mm/dd/yyyy')

or:
alter session set nls_date_format='mm/dd/yyyy';
select sysdate from dual;
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to recover a database from a user managed backup
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question