Create a custom user defined data type in sql serverKarthikeyan Anbarasan15yPublished Mar 29, 2011, 12:00 AMUpdated Mar 29, 2011, 10:13 PM4.1k00Reactions×25BlogYou can use the CREATE TYPE syntax in SQL to create a custom data type. The following SQL statement creates a custom data type "myDataType" of type nvarchar(50.CREATE TYPE myDatatypeFROM nvarchar(50) NULL;GOCommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.