Before we start this discussion I would like to highlight the basic of exception what is an exception in terms of database procedure and how we handle this exceptions.
In the time of procedure execution if any issue occurs in specified operations like insert, update etc. with the input data then the exception occurred and we need to use some exception handler to handle this exception. This is call implicit exception.
In HANA we will use declare EXIT HANDLER to handle those exception.
There is another way you can create an exception using fulfill of certain declared condition CONDITION Using SIGNAL and RESIGNAL. This exception explicitly created.
1. Lets first discuss about the EXIT HANDLER in HANA –
To demonstrate this first create an table EMPLOYEE with the following code –
No comments:
Post a Comment