-
Recent Posts
Recent Comments
- yangtingkun on 非空字段空值对查询的影响
- Eric Zong on 非空字段空值对查询的影响
- Kamus on Oracle Ace Director
- 设置全局死锁优先级 | yangtingkun on RAC全局死锁检测时间
- ORA-600(krbounotread_noctx)错误 | yangtingkun on ORA-600(krboReadBitmap_badbitmap)错误
Archives
- December 2020
- February 2019
- December 2018
- November 2018
- October 2018
- July 2018
- June 2018
- May 2018
- July 2016
- July 2013
- June 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
Categories
Meta
Tag Archives: exception
PLSQL声明部分异常捕获
近期在看PL/SQL的文档,发现了很多有趣的小知识点,有的以前知道,也有很多以前并不了解的,写出来和大家分享一下。 这篇描述异常捕获的作用范围。 PL/SQL的异常捕获只针对执行部分,在声明部分产生的异常是无法捕获的: SQL> SET serverout ON SIZE 100000 SQL> DECLARE 2 v_num NUMBER; 3 BEGIN 4 v_num := ‘a’; 5 exception 6 WHEN others THEN 7 dbms_output.put_line(’Exception captured!’); 8 END; 9 / Exception captured! PL/SQL PROCEDURE successfully completed. SQL> … Continue reading