-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] DML语句中虽然有where条件,但无法通过数量校验 #1096
Comments
Title: [Question] Although there is a where condition in the DML statement, it cannot pass the quantity check. Describe the problem Desired results Deployment method
Environment (please fill in environmental information):
|
影响行数基于Explain分析SQL语句的影响行数。由于Explain生成的影响行数受主键,索引等其他因素的影响,并不能100%保证其准确性。其更多的是反应了该语句导致的全表扫描行数,所以对于误差较大的语句具有一定的优化参考意义。 |
The number of affected rows is based on the Explain analysis of the number of affected rows of the SQL statement. Since the number of rows generated by Explain is affected by primary keys, indexes and other factors, its accuracy cannot be guaranteed 100%. It more reflects the number of rows scanned in the entire table caused by the statement, so it has certain optimization reference significance for statements with large errors. |
描述问题
已通过设置限制最大变更数量为1000,编写的DML使用where条件限制了变更范围,但点击检验时,显示超过数量限制;通过数据库连接软件查询限制条件,实际并未超过上述限制。
期望的结果
清晰而简洁地描述你希望得到的结果
部署方式
环境 (请填写环境信息):
The text was updated successfully, but these errors were encountered: