Domains in SQL Server?

前端 未结 2 1302
小蘑菇
小蘑菇 2021-01-29 08:29

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

相关标签:
2条回答
  • 2021-01-29 09:06

    Seems that domain support currently found in SQL Server is not fit for purpose. Best to wait until the CREATE DOMAIN command is added ;)

    0 讨论(0)
  • 2021-01-29 09:09

    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.

    0 讨论(0)
提交回复
热议问题