2.401 TIME_AT_DBTIMEZONE
TIME_AT_DBTIMEZONE
specifies whether time-dependent database operations use the time zone of the database host system or the time zone of the PDB.
Some examples of time-dependent database operations are running the SQL functions SYSDATE
and SYSTIMESTAMP
, querying table columns of type DATE
or TIMESTAMP
, using Oracle Job scheduler, performing materialized view refresh, and using Oracle Flashback Technology.
Property | Description |
---|---|
Parameter type |
String |
Syntax |
|
Default value |
|
Modifiable |
No |
Modifiable in a PDB |
Yes |
Basic |
No |
Oracle RAC |
Multiple instances must use the same value. |
Values:
-
OFF
- For all time-dependent operations, the database uses the time zone of the database host system that was in effect when the database was started. This is the behavior in releases prior to Oracle Database 23ai. -
USER_SQL
- The SQL functionsSYSDATE
andSYSTIMESTAMP
return the date and time based on theDBTIMEZONE
setting for the PDB. For all other time-dependent operations, the database uses the time zone of the database host system that was in effect when the database was started. -
DATABASE
- For all time-dependent operations, the database uses the time zone specified by theDBTIMEZONE
setting for the PDB.
Note:
This parameter is available starting with Oracle Database 23ai.
See Also:
-
Oracle Database SQL Language Reference for information about the
SYSDATE
function -
Oracle Database SQL Language Reference for information about the
SYSTIMESTAMP
function