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;
↧