表1--学校(int id,string intro), 表2--专业(int id,string intro) , 表3--学校重点专业(int id,int schoolId(引用学校表id),majorId(引用专业表Id)) 更新语句 update 学校重点专业 set schoolId=28,majorId=129 where id=61 但是更新的时候出错啦!异常信
表1-->学校(int id,string intro),
表2-->专业(int id,string intro) ,
表3-->学校重点专业(int id,int schoolId(引用学校表id),majorId(引用专业表Id))
更新语句 update 学校重点专业 set schoolId=28,majorId=129 where id=61
但是更新的时候出错啦!异常信息是
数据表‘学校’需要一个相关记录,不能添加或者修改记录!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号