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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing user defined datatype definition

Status
Not open for further replies.

manutektips

Programmer
Sep 8, 2003
11
GB
HI,
Is it possible to change the definition of a user defined datatype in SQL server 2000. I have defined a datatype called demail of varchar(50) and I want to change it to varchar(100). Please note that this datatype has been referrenced in many tables. Please suggest.
 
It appears that you can not. From what I'm reading and what I remember you can't modify a user defined data type. You have to drop and recreate the data type, which means removing it from all the tables, dropping it, adding it, and putting it back in all the tables.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top