2020年9月21日

Oracle数据库-自定义异常处理

摘要: --第一种方式:使用raise_application_error抛出自定义异常 declare i number:=-1; begin if i=-1 then raise_application_error(-20000,'参数值不能为负'); --抛出自定义异常 end if; excepti 阅读全文

posted @ 2020-09-21 13:34 土炮不一样 阅读(1912) 评论(0) 推荐(0)

导航