假设Students表中有主键SCode,Score表中有外键 stuNo列,stuNo引入Scode列来实施引用完整性约束,此时如果使用SQL Update Students set Scode = ‘001’ where scode = ‘002’ ___ ( )。 肯定会产生更新错误 可能会更新Students表中的两行数据 可能会更新Score表中的一行数据 可能会更新Students表中的一行数据
假设Students表中有主键SCode,Score表中有外键 stuNo列,stuNo引入Scode列来实施引用完整性约束,此时如果使用SQL
Update Students set Scode = ‘001’ where scode = ‘002’ ___
( )。
肯定会产生更新错误
可能会更新Students表中的两行数据
可能会更新Score表中的一行数据
可能会更新Students表中的一行数据