top of page
Display time in a Date column
Learn how to extract and display time from a date column in SQL.
By default, when you query a date column, oracle will only display dates and not time. Below query enables Oracle to display both date and time for a particular session
alter session set nls_date_format='dd-Mon-yyyy hh:mi:sspm';
Note: this is only session level query.
bottom of page