Deferrable Constraints in SQL Server

前端 未结 7 969
独厮守ぢ
独厮守ぢ 2020-11-30 04:34

Do any versions of SQL Server support deferrable constraints (DC)?

Since about version 8.0, Oracle has supported deferrable constraints - constraints that are only

7条回答
  •  心在旅途
    2020-11-30 05:09

    It sounds like the problem you have is that SQL does not support what Date and Darwen call 'multiple assignment'. Standard SQL's response to this was 'deferrable constraints', which SQL Server does not support. A SQL Server FK or CHECK constraint can be flagged with NOCHECK but its not quite the same. For more details see MSDN: ALTER TABLE (Transact-SQL).

提交回复
热议问题