From 8ffbbcf06bb1e3b806aa9d1759910a4ba6f29b7f Mon Sep 17 00:00:00 2001 From: Kshitij Date: Mon, 11 Nov 2024 23:51:21 +0530 Subject: [PATCH] Minor change to P2, added input for book in quotes and fixed Status datatype. --- Practical/Practical Exam/PL-SQL/P2 - Unnamed PL-SQL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Practical/Practical Exam/PL-SQL/P2 - Unnamed PL-SQL.md b/Practical/Practical Exam/PL-SQL/P2 - Unnamed PL-SQL.md index 72406fd..38c9cd6 100644 --- a/Practical/Practical Exam/PL-SQL/P2 - Unnamed PL-SQL.md +++ b/Practical/Practical Exam/PL-SQL/P2 - Unnamed PL-SQL.md @@ -24,7 +24,7 @@ CREATE TABLE Borrower ( Name VARCHAR2(255), DateofIssue DATE, NameofBook VARCHAR2(255), - Status VARCHAR(255), + Status VARCHAR2(255), PRIMARY KEY (rollin) ); @@ -62,7 +62,7 @@ BEGIN DBMS_OUTPUT.PUT_LINE('Enter roll number: '); p_roll := &p_roll; -- specify value directly for Live SQL. Eg.: p_roll := 1; DBMS_OUTPUT.PUT_LINE('Enter book name: '); - p_book := &p_book; -- specify value directly for Live SQL. Eg.: p_roll := 'DBMS'; + p_book := '&p_book'; -- specify value directly for Live SQL. Eg.: p_roll := 'DBMS'; IF (p_roll <= 0) THEN RAISE nodata;