In which Steven Feuerstein takes a look at several ways you should never handle an exception in your PL/SQL block. To summarize:
1. Don't swallow up or hide errors.
2. Don't simply display error information on the screen through a call to DBMS_OUTPUT.PUT_LINE.
3. Don't handle and re-raise without adding value (logging or doing *something*).
Related blog post: http://stevenfeuersteinonplsql.blogsp...
Related LiveSQL script: https://livesql.oracle.com/apex/lives...
========================================
Practically Perfect PL/SQL with Steven Feuerstein
Copyright © 2016 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Смотрите видео How NOT to Handle Exceptions - Part 1 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Practically Perfect PL/SQL with Steven Feuerstein 26 Январь 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,030 раз и оно понравилось 78 людям.