您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Oracle ORA-30926

2025/6/15 8:00:29发布26次查看
遭遇ora-30962错误,merge的源表中有重复记录,去重后该错误消失。
oracle遭遇ora-30962错误
30926, 00000, unable to get a stable set of rows in the source tables
 // *cause:  a stable set of rows could not be got because of large dml
//          activity or a non-deterministic where clause.
// *action: remove any non-deterministic where clauses and reissue the dml.
merge的源表中有重复记录,去重后该错误消失。
--处理重复记录
select userid from t_raugh group by userid having count(*) > 1;
delete t_raugh
where id in (select a.id
from (select b.id,
b.userid,
b.operdate,
row_number() over(partition by b.userid order by b.operdate desc) rn
from t_raugh b
where b.userid in (25468911,
25467429,
25464008,
25466351,
25464129,
25464805,
25468403,
25466240,
25467371,
25467777,
25464193,
25468734,
25464215,
25464596,
25467334,
25459985,
25468964,
25464928,
25469118,
25465790,
25466484,
25467080,
25468491,
25469197,
25467072,
25468492,
25467930,
25466768,
25463448,
25467653,
25468505,
25464075,
25468870,
25468971,
25467491)) a
where a.rn > 1)

该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product