Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to return an exception in a Oracle function

Rajan SwJan 4 2019 — edited Jan 22 2019

Hi,

I have a requirement like to calculate factorial of a number and I have to check if the input number is -ve or null then it should return an error telling the entered number is invalid

Please share your thoughts on this.

I am using Oracle 12c R2

This post has been answered by Cookiemonster76 on Jan 4 2019
Jump to Answer
Comments
Post Details
Added on Jan 4 2019
15 comments
3,810 views