MSC-PG0004
The date output format may vary
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
The date output format may vary depending on the Timestamp type and the timestamp_output_format being used, you can consult here.
Code Example
Input Code:
CREATE TABLE table1 (
dt_update timestamp without time zone DEFAULT clock_timestamp()
);Output Code:
CREATE TABLE table1 (
dt_update TIMESTAMP_NTZ DEFAULT
/*** MSC-WARNING - MSC-PG0002 - THE DATE OUTPUT FORMAT MAY VARY DEPENDING ON THE TIMESTAMP TYPE AND THE TIMESTAMP_OUTPUT_FORMAT BEING USED. ***/
CURRENT_TIMESTAMP() :: TIMESTAMP_NTZ
)Samples
Example with CREATE TABLE.
Input Code:
Output Code:
Example with SELECT with clock_timestamp().
Input Code
Output Code
Recommendations
If you need more support, you can email us at [email protected]
Last updated
