In SqlDeveloper, when I run this query:
select sysdate from dual
I see only 15-FEB-16,
but not the time portion. I suppose that there is time portion, but somehow I can not see it. How to fix this?
Thanks.
In SqlDeveloper, when I run this query:
select sysdate from dual
I see only 15-FEB-16,
but not the time portion. I suppose that there is time portion, but somehow I can not see it. How to fix this?
Thanks.
If you don't want/can't change the NLS settings, use the to_char function, but note that since then its a varchar type, not a date anymore! changing it back to date would display it according to NLS settings again
SELECT to_char(SYSDATE, 'yyyy-mm-dd hh24:mm:ss') from dual
this way you can define the format (using the mask) anyway you want
Change your NLS settings: Tools -> Preferences -> Database -> NLS