plsql调试存储过程,如何查找哪个字段在插入数据时长度不够或类型不符?

2025-04-08 03:30:28
推荐回答(1个)
回答1:

捕捉异常
例如
begin
insert into xxx(a) values('qwdqdqdqw');
exception
when others then
DBMS_OUTPUT.put_line('sqlerrm : ' ||sqlerrm);
end