Examples of User Defined Data Type in SQL Server

CREATE TYPE [dbo].[YYWK] FROM [smallint] NULL
GO

CREATE TYPE [dbo].[MyDateTime] FROM [datetime2](3) NULL
GO

CREATE TYPE [dbo].[UserID] FROM [smallint] NOT NULL
GO
Last modified: December 4, 2020

Author

Comments

Write a Reply or Comment