潇洒心锁

文章
7
资源
0
加入时间
4年1月23天

Oracle之异常/存储过程/函数/触发器

1.异常1.预定义异常:oracle定义了上千个异常,但只有21个最常见的异常,这些异常都规定好了名字,这些有名字的异常叫预定义异常。语法:exceptionwhen 异常名 then...when 异常名 then...when others then....sqlcode:返回当前遇到 的oracle错误号sqlerrm:返回当前遇到的oracle错