Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UDT creation in MSDE 1

Status
Not open for further replies.

obadare

Programmer
Nov 17, 2002
104
GB
I am trying to create a user defined data type in MSDE without much luck.

EXEC sp_addtype Vector( xpos int, ypos int)

Any help will be appreciared
 
You can't do what it looks like you're trying to do. A user-defined data type has to be based on one of the system data types - you can't just make up your own formats, eg have a data type that stores two values like you're trying here.

Look up sp_addtype in BOL for info and syntax.

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top