PLS_INTEGER Data Type
Last updated
Last updated
The
PLS_INTEGER
data type stores signed integers in the range -2,147,483,648 through 2,147,483,647, represented in 32 bits. ()
The PLS_INTEGER
datatype is transformed to NUMBER
. This transformation also applies for each PLS_INTEGER
subtype:
NATURAL
NATURALN
POSITIVE
POSITIVEN
SIGNTYPE
SIMPLE_INTEGER
Some of these subtypes are currently not recognized by SnowConvert so they are converted to VARIANT
and considered user-defined types. There is already a work item to fix the issue.
Please, consider the following table and its inserts for the examples below:
Oracle PLS_INTEGER
has some advantages in terms of storage size and performance in arithmetic operations. These features were not emulated because Snowflake NUMBER
does not have them. For more information, check the