Data types
Snowflake provides support for the majority of fundamental SQL data types, with specific restrictions, across various SQL constructs including columns, local variables, expressions, and parameters.
Boolean Data Type
Bytes Data Type
Datetime Data Types
Geography Data Type
Interval Data Type
INTERVAL data type is not supported in Snowflake. VARCHAR is used instead. For more information, please refer to the INTERVAL data type documentation.
Json Data Type
Numeric Data Types
INT is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
INT is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
SMALLINT is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
INTEGER is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
BIGINT is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
TINYINT is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
BYTEINT is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
NUMERIC is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
DECIMAL is an alias for the NUMBER data type in Snowflake. The maximum precision and scale is NUMBER(38,37).
NUMERIC​
Snowflake does not support the BIGNUMERIC data type. Use NUMERIC instead. BIGNUMERIC's precision 76,76 exceeds Snowflake's limit (38), resulting in truncation or rounding, which can introduce significant inaccuracies.
Snowflake does not support the BIGDECIMAL data type. Use NUMERIC instead. BIGDECIMAL's precision 76,76 exceeds Snowflake's limit (38), resulting in truncation or rounding, which can introduce significant inaccuracies.
String Data Types
Last updated