Can't this be done by configuring a "Tool Configuration"?
I tried creating a "Tool Configuration" with the following settings:
General
-------------------------------------------------
Description = nls_date_format_with_time
Type = Session
Executable/Script = C:\temp\alter_session_nls_date_format_with_time.sql
Menu
-------------------------------------------------
Main Menu = Session
Options
-------------------------------------------------
Requirements = Active Connection
Window Types = Test Window
The content of the alter_session_nls_date_format_with_time.sql script is the following:
Code:
alter session set NLS_DATE_FORMAT = 'YYYY/MM/DD HH24:MI:SS';
With all this done, when I open a Test Window, and pick the nls_date_format_with_time option from the Session menu, the date format is still the default one (DD-MON-YY) while I'm running in debugg mode.
Could someone suggest a solution on how to configure the "Configuration".