Sessiontimezone Query is Different Between SQL*Plus and SQL*Developer
Last updated on FEBRUARY 16, 2018
Applies to:SQL*Plus - Version 10.2.0.1 and later
Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
Currency check on June 2016.
In SQL*Plus, the timezone is always changed to GMT, although the machine is located in EST timezone. It could be verified with the following query:
SQL>select sessiontimezone from dual;
Executing this query from SQL*Developer, installed in the same machine in EST timezone, sends the right date and time from the EST timezone.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms