求翻译~!~!

biser 2004-11-18 09:11:53
When you enforce referential integrity, SQL Server prevents users from doing any of the following:

Adding records to a related table if there is no associated record in the primary table

Changing values in a primary table that result in orphaned records in a related table

Deleting records from a primary table if there are related records in the foreign table
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
此书是70-229
...全文
86 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
davorsuker39 2004-11-19
  • 打赏
  • 举报
回复
学习
yesyesyes 2004-11-19
  • 打赏
  • 举报
回复
我的英文不太好,但试一下

当你强制参照完整性时,sqlserver禁止用户以下操作:
当主键表中无关联记录时向关联表添加记录
更改主键表记录的值使关联表中的记录成为无关联记录
当外键表中存在与主键表关联记录时删除主键表中的记录

34,590

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧