From 7c7d251cedbd65a3ac2adcf742a4d188f3278fa1 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Mon, 11 Nov 2024 23:52:41 +0530 Subject: [PATCH] Added comment for input in p_roll --- Practical/Practical Exam/PL-SQL/P4 - PL-SQL Block.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Practical/Practical Exam/PL-SQL/P4 - PL-SQL Block.md b/Practical/Practical Exam/PL-SQL/P4 - PL-SQL Block.md index 79eb276..29df949 100644 --- a/Practical/Practical Exam/PL-SQL/P4 - PL-SQL Block.md +++ b/Practical/Practical Exam/PL-SQL/P4 - PL-SQL Block.md @@ -35,8 +35,7 @@ DECLARE p_roll Student.Roll%type; nodata EXCEPTION; BEGIN - DBMS_OUTPUT.PUT_LINE('Enter roll number: '); - p_roll := &p_roll; + p_roll := &p_roll; -- specify value directly for Live SQL. Eg.: p_roll := 1; IF (p_roll < 0) THEN raise nodata;