Click here to Skip to main content
15,886,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to devlop our own datatypes in sql server 2005?
Posted

1 solution

In SQL Server Management Studio, open a database in the object explorer

Now, expand database -> Programmability -> Types -> User-defined Data Types

Right click on 'User-defined Data Types' and choose 'New User-Defined data type'. Enter you data type properties and save. Now you can use the data type you just defined in any queries \ stored procedures etc.

Or, you can define in Visual studio - follow this article

Creating User-Defined Data Types in SQL Server 2005[^]
 
Share this answer
 
v2
Comments
Jignesh J patel 3-Jan-12 3:49am    
can we devlop in visual studio
Dylan Morley 3-Jan-12 3:51am    
yes, see updated answer + link

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900