Write a PL/SQL program to show the upper limit of PLS_INTEGER.
PL/SQL Code:
DECLARE n1 PLS_INTEGER := 2147483647; n2 PLS_INTEGER := 1; s NUMBER; BEGIN s := n1 + n2; END; /
Sample Output:
DECLARE * ERROR at line 1: ORA-01426: numeric overflow ORA-06512: at line 6
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
PL/SQL Code:
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer