Oracle触发器问题 触发器怎么给多个定义变量赋值报错
createorreplacetriggerdeletecllbeforedeleteontr6_dgxdywjjforeachrowdeclareL_XDHTHvarc...
create or replace trigger deletecll
before delete on tr6_dgxdywjj
for each row
declare
L_XDHTH varchar2;
L_KHTYBH varchar2;
L_NBJGH varchar2;
L_MXKMBH varchar2;
L_JKJE varchar2;
begin
select jj.XDHTH, jj.KHTYBH, jj.NBJGH, jj.MXKMBH, jj.JKJE
into (L_XDHTH, L_KHTYBH, L_NBJGH, L_MXKMBH, L_JKJE)
from tr6_dgxdywjj jj
where jj.xdjjh = : ods.XDJJH;
end deletecll;
报错
现在又出现这个错误 展开
before delete on tr6_dgxdywjj
for each row
declare
L_XDHTH varchar2;
L_KHTYBH varchar2;
L_NBJGH varchar2;
L_MXKMBH varchar2;
L_JKJE varchar2;
begin
select jj.XDHTH, jj.KHTYBH, jj.NBJGH, jj.MXKMBH, jj.JKJE
into (L_XDHTH, L_KHTYBH, L_NBJGH, L_MXKMBH, L_JKJE)
from tr6_dgxdywjj jj
where jj.xdjjh = : ods.XDJJH;
end deletecll;
报错
现在又出现这个错误 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询