C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Create a custom user defined data type in sql server
WhatsApp
Karthikeyan Anbarasan
14y
3.7
k
0
0
25
Blog
You 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 myDatatype
FROM nvarchar(50) NULL;
GO
This blog shows on how to create a custom user defined data type in sql server
Recommended related topics
Membership not found