TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Create a custom user defined data type in sql server
Karthikeyan Anbarasan
Mar 29, 2011
3.6
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This blog shows on how to create a custom user defined data type in SQL Server.
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
Next Recommended Reading
User-Defined Functions in SQL Server