change oracle date output format

It is only available for one session.
using the below command before you run your query
ALTER  SESSION  SET  NLS_DATE_FORMAT  =   ' YYYY-MM-DD HH24:MI:SS ' ;
For more information, refer to the page http://www.oracle.com/technology/products/database/sql_developer/howtos/howto_policy_date_formats.html

你可能感兴趣的:(change oracle date output format)