SnowflakeType Enumeration
On this page
Specifies the data type of a field or a parameter.
Syntax
Members
| Member | Description |
| Array | The Snowflake ARRAY and VECTOR. Mapped to System.String (JSON text). Parameters of this type aren't supported: pass JSON text in a String parameter and convert it with the PARSE_JSON function in the SQL statement. |
| Binary | The Snowflake BINARY (VARBINARY). Mapped to System.Byte[]. |
| Boolean | The Snowflake BOOLEAN. Mapped to System.Boolean. |
| Date | The Snowflake DATE. Mapped to System.DateTime. |
| DateTime | The Snowflake TIMESTAMP_NTZ (DATETIME). Mapped to System.DateTime. |
| Decimal | The Snowflake NUMBER with scale greater than 0 (DECIMAL, NUMERIC). Mapped to System.Decimal. |
| Double | The Snowflake FLOAT (FLOAT4, FLOAT8, DOUBLE, DOUBLE PRECISION, REAL). Mapped to System.Double. |
| Geography | The Snowflake GEOGRAPHY and GEOMETRY. Mapped to System.String; parameters of this type are sent as text. |
| Guid | The Snowflake VARCHAR(36) when Text36AsGuid=true, or VARCHAR(38) when Text38AsGuid=true. Mapped to System.Guid. |
| Integer | The Snowflake NUMBER with scale 0 (INT, INTEGER, BIGINT, SMALLINT, TINYINT, BYTEINT). Mapped to System.Int64. |
| Object | The Snowflake OBJECT. Mapped to System.String (JSON text). Parameters of this type aren't supported: pass JSON text in a String parameter and convert it with the PARSE_JSON function in the SQL statement. |
| String | The Snowflake VARCHAR (STRING, TEXT, CHAR, CHARACTER, NCHAR, NVARCHAR). Mapped to System.String. |
| Time | The Snowflake TIME. Mapped to System.TimeSpan. |
| TimestampLTZ | The Snowflake TIMESTAMP_LTZ. Mapped to System.DateTime. |
| TimestampTZ | The Snowflake TIMESTAMP_TZ. Mapped to System.DateTimeOffset. |
| Variant | The Snowflake VARIANT. Mapped to System.String: objects and arrays are returned as JSON text. Parameters of this type aren't supported: pass JSON text in a String parameter and convert it with the PARSE_JSON function in the SQL statement. |
Inheritance Hierarchy
See Also