java - Oracle SQL Developer, how DATE is stored? -
this question has answer here:
i'm using oracle database java application. in db have created table column of type date
, application populated table dates precision seconds.
now application able retrieve date precision seconds , works fine. i'm using oracle sql developer
keep eye on in database, , here comes problem, when inside table table view in column date
can see date in format of 16/09/07
without time of hours/minutes/seconds.
also if run script:
select saved_date my_table;
it returns dates in format of 16/09/07
without time of hours/minutes/seconds.
how can inspect oracle sql developer precise time stored in column?
see ixora. on contrary other databases , java, oracle's date
datatype contains hours, minutes , seconds.
byte 1: century + 100
byte 2: year + 100
byte 3: month
byte 4: day of month
byte 5: hour + 1
byte 6: minute + 1
byte 7: second + 1
what confuses implicit datatype conversion varchar2. driven session parameter nls_date_format
.
xqbert right, change nls_date_format in sqldeveloper settings "yyyy-mm-dd hh24:mi:ss".
Comments
Post a Comment