TIMESTAMP WITH TIME ZONE Data Type
Description
TIMESTAMP WITH TIME ZONE is a variant of TIMESTAMP that includes a time zone region name or a time zone offset in its value. The Snowflake equivalent is TIMESTAMP_TZ.(Oracle SQL Language Reference Timestamp with Time Zone Data Type)
The Snowflake equivalent is TIMESTAMP_TZ.
For more information, see also the TIMESTAMP section.
Sample Source Patterns
Timestamp with Time Zone in Create Table
Oracle
Snowflake
Retrieving data from a Timestamp with Time Zone column
Oracle
Snowflake
Note that the timezone is different in both engines because when the timezone is not specified, the default timezone of the database is added.
Use the following syntax to change the default timezone of the database:
Known Issues
1. Timestamp formats may be different
Snow Convert does not perform any conversion for the date/timestamps format strings, so there may be errors when deploying the code. Example:
Oracle
Snowflake
The query will fail in Snowflake because the default timestamp input format does not recognize '-8:00' as a valid UTC offset. It should be replaced with '-0800' or '-08:00' in order to get the same result.
Related EWIs
No related EWIs.
Last updated