You are on page 1of 5

Experiment-6

Student Name: NEHA SHARMA UID: 20BCS4576


Branch: CSE-IOT Section/Group: 20BIT1/A
Date of Performance: 15/09/2023
Semester: 7th
Subject Code: 20CSP-436
Subject Name: ADBMS

1. Aim: To Implement Pl/SQL programming using exception handling.


2. Objective: Create a program to use exception handling.
3. Requirements: PL/SQL server

4. Theory:

An exception is an error condition during a program execution. PL/SQL supports programmers to catch
such conditions using EXCEPTION block in the program and an appropriate action is taken against the
error condition. There are two types of exceptions −

There are two types of exceptions −

• System-defined exceptions

• User-defined exceptions

Advantages of PL/SQL Exceptions:

Using exceptions for error handling has several advantages. Without exception handling, every time you issue a
command, you must check for execution errors:

Error processing is not clearly separated from normal processing; nor is it robust. If you neglect to code a check, the
error goes undetected and is likely to cause other, seemingly unrelated errors.
5. OUTPUT:
6. Grid (To be created as per the SOP and Assessment guidelines by the faculty):

Sr. No. Parameters Marks Obtained Maximum Marks


1.
2.
3.

You might also like