SnowConvert AI - SQL Server-Azure Synapse - CREATE TYPE¶
SnowConvert maps SQL Server alias types (CREATE TYPE ... FROM base_type) to Snowflake CREATE TYPE ... AS base_type. Table types and other unsupported variants are flagged for manual review.
Applies to
SQL Server
Azure Synapse Analytics
Alias types (FROM base type)¶
FROM is rewritten to AS, nullable/nullability modifiers on the alias definition are dropped in the Snowflake output, and schema-qualified names are preserved.
Source (T-SQL):
Snowflake equivalent:
Source (T-SQL):
Snowflake equivalent:
Source (T-SQL):
Snowflake equivalent:
Source (T-SQL):
Snowflake equivalent:
Table types (AS TABLE)¶
CREATE TYPE ... AS TABLE (...) is not supported as a Snowflake user-defined type in this form; the converter emits an EWI and leaves the statement for manual resolution.
Source (T-SQL):
Snowflake equivalent (with EWI):
Notes: See SSC-EWI-TS0107 in the SQL Server conversion issues documentation.