Added comment for input in p_roll

This commit is contained in:
K 2024-11-11 23:52:41 +05:30
parent 8ffbbcf06b
commit 7c7d251ced
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -35,8 +35,7 @@ DECLARE
p_roll Student.Roll%type; p_roll Student.Roll%type;
nodata EXCEPTION; nodata EXCEPTION;
BEGIN BEGIN
DBMS_OUTPUT.PUT_LINE('Enter roll number: '); p_roll := &p_roll; -- specify value directly for Live SQL. Eg.: p_roll := 1;
p_roll := &p_roll;
IF (p_roll < 0) THEN IF (p_roll < 0) THEN
raise nodata; raise nodata;