文档解释 ORA-16958: DML statements running parallel are not supported for test execute. Cause: The specified DML statement c
ORA-16958: DML statements running parallel are not supported for test execute.
Cause: The specified DML statement cannot be tested for execute because part of it is running parallel.
Action: None
:
ORA-16958 错误是由于在执行测试操作时尝试并行运行Data Manipulation Language(DML)语句抛出的错误。
官方解释如下:”ORA-16958: 不支持在测试操作中并行运行DML语句”
1、尝试不使用”parallel”选项,只能使用serial选项。
2、正确的操作应该使用 execute immediate 来执行测试操作,而不使用parallel操作,例如:
EXECUTE IMMEDIATE ‘select * from table_name’ ;
3、另外,您也可以重构DML语句来使用可执行的函数,如下所示:
exec test_execute(‘select * from table_name’) ;
--结束END--
本文标题: ORA-16958: DML statements running parallel are not supported for test execute. ORACLE 报错 故障修复 远程处理
本文链接: https://www.lsjlt.com/news/533761.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0