阅读背景:

SQL Server 2005:可空外键约束

来源:互联网 

I have a foreign key constraint between tables Sessions and Users. Specifically, Sessions.UID = Users.ID. Sometimes, I want Sessions.UID to be null. Can this be allowed? Any time I try to do this, I get an FK Constraint Violation.I have a foreign key constraint between tables




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

分享到: