Home > Database > Mysql Tutorial > ACCESS数据表不能修改的问题,高校帮帮忙啊

ACCESS数据表不能修改的问题,高校帮帮忙啊

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:42:38
Original
1622 people have browsed it

表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

但是更新的时候出错啦!异常信息是

数据表‘学校’需要一个相关记录,不能添加或者修改记录!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Access error using alias
From 1970-01-01 08:00:00
0
0
0
Single module access
From 1970-01-01 08:00:00
0
0
0
About Mac MAMP PRO deploy thinkphp5.1 access 404
From 1970-01-01 08:00:00
0
0
0
My access page reports 403
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template