Error Code: 1175. You are using safe update mode and you tried to update a t

简介: 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/inforstack/article/details/79677217 在安全模式下,只能根据主键来做修改,所以使用非主键修改,那么将要解除安全模式,然后再执行操作。
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/inforstack/article/details/79677217

在安全模式下,只能根据主键来做修改,所以使用非主键修改,那么将要解除安全模式,然后再执行操作。

解除安全模式:

SET SQL_SAFE_UPDATES = 0;

恢复安全模式:

SET SQL_SAFE_UPDATES = 1;



相关文章
|
5月前
【开发专题_02】Executing an update/delete query
【开发专题_02】Executing an update/delete query
59 0
|
5月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
67 0
|
10月前
报错modify sync object Modify sync object Failed!
报错modify sync object Modify sync object Failed!
35 1
|
SQL 关系型数据库 MySQL
mysql Error Code: 1175. You are using safe update mode and you tried to update a table without ....
mysql Error Code: 1175. You are using safe update mode and you tried to update a table without ....
198 0
mysql Error Code: 1175. You are using safe update mode and you tried to update a table without ....
|
SQL 关系型数据库 MySQL
[Err] 1294 - Invalid ON UPDATE clause for 'comment_time' column【详细解决办法】
[Err] 1294 - Invalid ON UPDATE clause for 'comment_time' column【详细解决办法】
722 0
[Err] 1294 - Invalid ON UPDATE clause for 'comment_time' column【详细解决办法】
2015-03-18 current note update logic in my task
2015-03-18 current note update logic in my task
89 0
2015-03-18 current note update logic in my task
SET UPDATE TASK LOCAL and commit session issue
SET UPDATE TASK LOCAL and commit session issue
139 0
SET UPDATE TASK LOCAL and commit session issue
An example to fix Generic stop set error status in tcode SMQ1
An example to fix Generic stop set error status in tcode SMQ1
An example to fix Generic stop set error status in tcode SMQ1
my Note debug - add to function
Created by Wang, Jerry, last modified on Feb 03, 2015
my Note debug - add to function
|
SQL 数据库管理 关系型数据库
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
测试环境:OEL6.5+Oracle 11g R2在进行执行计划测试的时候,遇到一个小问题。在用普通用户执行下面这条命令的时候,普通用户名为hhu,已经赋予了create session和resource权限。
1126 1