ACCESS數據表不能修改的問題,高校幫幫忙啊
來源:懂視網
責編:小采
時間:2020-11-09 15:30:54
ACCESS數據表不能修改的問題,高校幫幫忙啊
ACCESS數據表不能修改的問題,高校幫幫忙啊:表1--學校(int id,string intro), 表2--專業(int id,string intro) , 表3--學校重點專業(int id,int schoolId(引用學校表id),majorId(引用專業表Id)) 更新語句 update 學校重點專業 set schoolId=28,majorId=129 wh
導讀ACCESS數據表不能修改的問題,高校幫幫忙啊:表1--學校(int id,string intro), 表2--專業(int id,string intro) , 表3--學校重點專業(int id,int schoolId(引用學校表id),majorId(引用專業表Id)) 更新語句 update 學校重點專業 set schoolId=28,majorId=129 wh

表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
但是更新的時候出錯啦!異常信息是
數據表‘學校’需要一個相關記錄,不能添加或者修改記錄!
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
ACCESS數據表不能修改的問題,高校幫幫忙啊
ACCESS數據表不能修改的問題,高校幫幫忙啊:表1--學校(int id,string intro), 表2--專業(int id,string intro) , 表3--學校重點專業(int id,int schoolId(引用學校表id),majorId(引用專業表Id)) 更新語句 update 學校重點專業 set schoolId=28,majorId=129 wh