I\'ve just been reading \'Give us Real Domains!\' on SQL Server MVP Erland Sommarskog\'s SQL Server Wishlist.
I was thinking of trying out CREATE TYPE
with
Seems that domain support currently found in SQL Server is not fit for purpose. Best to wait until the CREATE DOMAIN
command is added ;)
If I'd venture a guess, data types with embedded behavior (rules, checks, constraints) are better fit for CLR UDTs. You are seeing this already in SQL Server 2008, where some new data types come as built-in CLR types like geography and geometry.