When you execute this statement, the name of the user-defined domain or data type is updated in the ISYSUSERTYPE system table.
Note
Any procedures, triggers, views, or events that refer to the user-defined domain or data type must be recreated, or else they
continue to refer to the old name.
SQL/2008
Vendor extension. The ALTER DOMAIN statement is optional SQL feature F711 of the SQL/2008 standard. However, in the standard,
ALTER DOMAIN can specify modified DEFAULT or CHECK constraint clauses for an existing domain. Neither of these operations
are supported in SQL Anywhere. Feature F711 does not support the renaming of a domain.