Database Administration (MOSC)

MOSC Banner

Timezone issue: when I log in a / as sysdba, the time zone is correct (EDT). Any user, it is UTC.

rcmcdbq-/home/oracle>sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Tue Mar 23 11:38:31 2021

Version 19.9.0.0.0

Copyright (c) 1982, 2020, Oracle. All rights reserved.

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.9.0.0.0

SQL> @t.t

Session altered.

SESSIONTIMEZONE   SYSDATE       DBTIMEZONE

-------------------- -------------------- --------------------

-04:00        2021-03-23 11:38:36 +00:00

SQL> exit


>>> When I log in as any user, even sys, it is UTC:

Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.9.0.0.0

rcmcdbq-/home/oracle>sqlplus sys@cmmiacpt as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Tue Mar 23 11:40:00 2021

Version 19.9.0.0.0

Copyright (c) 1982, 2020, Oracle. All rights reserved.

Enter password:

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center