当前位置: 移动技术网 > IT编程>数据库>Oracle > ORACLE删除锁死教程

ORACLE删除锁死教程

2018年10月27日  | 移动技术网IT编程  | 我要评论

delete from tmp_mzrbb_czyxmtj1;

insert into tmp_mzrbb_czyxmtj1(sfxmflmc,sfbz,je,wssdm,pxxh,xmfl)

select b.sfxmflmc

,a.sfbz

,sum(b.je) as je

,b.wssdm

,0 as pxxh

,(select dmz from sys1_code d where d.fldm='1920' and d.xmdm=c.xmlbdm) as xmfl

from mz_sfzb a,mz_sfmx b,uv_base_xmxxk c

where a.id=b.zb_id

-- and a.czrybm=parm_czydm

and a.wssdm=b.wssdm

and a.wssdm=c.wssdm

and b.itemclass =c.xmlbdm

and b.itemcode=c.ypdm

--and isnull(a.cfysid,'') <> ''

group by b.sfxmflmc,b.wssdm,a.sfbz,c.xmlbdm;

alter system kill session '286, 2184'

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网