I am wondering if there is a way to differentiate between warning messages and error messages in Oracle? Does a Warning message count as an exception? Are warning just errors? Is there a clear difference? And if so, is there a way to catch warning messages explicitly, or information messages?
Thanks for any advice.
Oracle itself doesn’t raise warning or information messages, only exceptions for error messages. However it does have some information that you can interrogate in PL/SQL such as:
SQL%ROWCOUNT:
cursor%NOTFOUND: