一个非常简单的问题 ,哪里错了?
select police.t_ch_rec.id from police.t_ch_rec,police.t_ch_his
where police.t_ch_his.id=police.t_ch_rec.id
and police.t_ch_his.in_time=police.t_ch_rec.in_time;
begin
delete from police.t_ch_rec where police.t_ch_rec.id=vdeal_result;
end;
/
错误位于第2行:
ORA-06550: 行2、列57:
PLS-00201: 必须说明标识符'VDEAL_RESULT'
ORA-06550: 行2、列1:
PL/SQL: SQL Statement ignored