Quantcast
Channel: Oracle
Viewing all articles
Browse latest Browse all 4975

Forum Post: RE: Display of time with date in the table

$
0
0
It sounds like "created_on" is a varchar2 field.  The records should appear one way (date with no time) or the other (date with time) - not intermingled. If "created_on" is in fact a date, you may want to check your NLS parameters.  These can affect how records are displayed to you by default. SELECT * FROM V$NLS_PARAMETERS where parameter like '%FORMAT'; An alternative you can try, is formatting the date with to_char. select to_char(created_on, 'YYYY-MM-DD HH24:MI:SS') as created_on from tbl_basics;

Viewing all articles
Browse latest Browse all 4975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>