Fixed others exception

This commit is contained in:
K 2024-11-10 19:33:00 +05:30
parent 4d878d51ca
commit 42363aa8eb
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -55,7 +55,7 @@ EXCEPTION
WHEN nodata THEN WHEN nodata THEN
DBMS_OUTPUT.PUT_LINE('Please enter a valid roll number.'); DBMS_OUTPUT.PUT_LINE('Please enter a valid roll number.');
WHEN OTHERS THEN WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('Error occured. Error: ' SQLERRM); DBMS_OUTPUT.PUT_LINE('Error occured. Error: ' || SQLERRM);
END; END;
/ /