I'm developing a VB application with a SQL-server database
All the fields in the database are of a user-defined type (UDT), so i'm sure that i.e. all my fields with telephonenumbers in it are of the same type and size.
The drawback of using user-defined types is when you want to change them. Lets say from Varchar(15) to Varchar(20).
You have to release all references from tables to the UDT, change its definition, and then re-establish all the uses of the UDT in the tables.
is there an easier way to change the UDT-definition? Does anybody have a stored procedure that can do all this for me?
That will save me a lot of work!
thanks
Bascy
All the fields in the database are of a user-defined type (UDT), so i'm sure that i.e. all my fields with telephonenumbers in it are of the same type and size.
The drawback of using user-defined types is when you want to change them. Lets say from Varchar(15) to Varchar(20).
You have to release all references from tables to the UDT, change its definition, and then re-establish all the uses of the UDT in the tables.
is there an easier way to change the UDT-definition? Does anybody have a stored procedure that can do all this for me?
That will save me a lot of work!
thanks
Bascy