System.Data.OleDb.OleDbException:操作必须使用可更新的查询ACE.OLEDB.12.0

时间:2017-12-02 22:04:50

标签: c# sql ms-access

为什么我在尝试更新表时会在VS2017中出现异常 OleDbConnection("Provider = Microsoft.ACE.OLEDB.12.0; Data Source = database.accdb; Persist Security Info=False;"

"UPDATE `Cars` SET `company` = (SELECT `id` FROM `Companies` WHERE `Companies`.`company` = parameter_company) WHERE `id` = parameter_id"

0 个答案:

没有答案