top of page
  • Writer's pictureArun Kumar

Display time in a Date column

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.
463 views

Recent Posts

See All
bottom of page