exception when others then
if sqlcode = '04068' then
dbms_output.put_line('Warning: ORA-' || sqlcode || ': ' || sqlerrm);
end if;你是不是要这样子啊?
if sqlcode = '04068' then
dbms_output.put_line('Warning: ORA-' || sqlcode || ': ' || sqlerrm);
end if;你是不是要这样子啊?
if sqlcode = '04068' then
dbms_output.put_line('Warning: ORA-' || sqlcode || ': ' || sqlerrm);
else
raise_application_error(sqlcode, sqlerrm);
end if;
现在可以了吗?
exception when others and sql<>'04068' then
........这样写法肯定是不对的了,只是表达我的意思