SQL Developer is returning only the date, not the time. How do I fix this?

后端 未结 7 1006
粉色の甜心
粉色の甜心 2020-12-22 16:08

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-1         


        
7条回答
  •  粉色の甜心
    2020-12-22 17:05

    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'

提交回复
热议问题