SQL Developer is returning only the date, not the time. How do I fix this?
Here's what SQL Develoepr is giving me, both in the results window and when I export:
CREATION_TIME
-------------------
27-SEP-12
27-SEP-12
27-SEP-12
Here's what another piece of software running the same query/db gives:
CREATION_TIME
-------------------
2012-09-27 14:44:46
2012-09-27 14:44:27
2012-09-27 14:43:53
How do I get SQL Developer to return the time too?
Can you try this?
Go to Tools> Preferences > Database > NLS and set the Date Format as MM/DD/YYYY HH24:MI:SS
Date format can also be set by using below query :-
alter SESSION set NLS_DATE_FORMAT = 'date_format'
e.g. : alter SESSION set NLS_DATE_FORMAT = 'DD-MM-YYYY HH24:MI:SS'