VARCHAR2 Data Type
Last updated
Last updated
The
VARCHAR2
data type specifies a variable-length character string in the database character set. ()
As denoted in the Oracle documentation, size in VARCHAR2 data type is a length constraint and should not be confused with capacity. Total characters that can be stored in a VARCHAR2 may vary according to the database character set and configuration, but commonly the maximum size allowed is 4000.
VARCHAR2 is translated to Snowflake VARCHAR which can store a bigger number of bytes/characters by default. Either way, the memory used is variable using the size of the value stored in the column as same as in Oracle.
No issues were found.
: LENGTHB transformed to OCTET_LENGTH.