What is bad in “When Others Then Null” in PL/SQL?

后端 未结 3 401
感情败类
感情败类 2020-12-11 07:09

I just read this question, and a solution states that:

The fact that you don\'t know you got the NO_DATA_FOUND exception suggests that you have ma

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 07:23

    It is ALWAYS bad coding. And you can say that it is bad coding if you do it on purpose. In fact, it is horrible code if you do it on purpose because it demonstrats how little you understand about all of the errors you are completely ignoring.

    http://stevenfeuersteinonplsql.blogspot.com/2017/02/now-not-to-handle-exceptions.html

    https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1155066278457

提交回复
热议问题