阅读背景:

TSQL - 如何在插入之前针对不同列中的值检查值?

来源:互联网 

Is there a way to implement a CHECK constraint that checks a value against another value in a different column in the same table? Specifically, I want to ensure that a "checkout" date value to be inserted is greater than the "checkin" date value in the table before inserting the row.Is there a way to implement a CHECK constraint




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: