If you attempt to add or drop an attribute from the specified structured UDT, the system aborts the request if any other database object references that UDT.
This action protects the integrity of the database from corruption caused by objects depending on the previous definition of a structured UDT that is no longer correct.
You, as a UDT developer, are responsible for performing all the necessary clean up on all of the following database objects before you drop any attributes from a structured UDT.
- Casts associated with the UDT.
- Orderings for the UDT.
- Transforms for the UDT.
- Tables whose columns are typed with the UDT.
See CREATE TABLE.
- Structured UDTs that use the UDT.
- UDFs and methods that use the UDT as a parameter type.
See CREATE FUNCTION and REPLACE FUNCTION (External Form) and CREATE METHOD.