Added missing semicolon in example. Thanks to Narinder for pointing it out 🙇
This commit is contained in:
parent
f3eb6f536c
commit
0314d38f20
@ -36,9 +36,9 @@ INSERT INTO Borrower VALUES (4, 'Kshitij', TO_DATE('2024-10-29', 'YYYY-MM-DD'),
|
|||||||
```sql
|
```sql
|
||||||
DECLARE
|
DECLARE
|
||||||
p_roll NUMBER; -- specify roll number here since Live SQL cannot take input from user
|
p_roll NUMBER; -- specify roll number here since Live SQL cannot take input from user
|
||||||
-- Eg. p_roll NUMBER := 1 will take roll number 1 as input
|
-- Eg. p_roll NUMBER := 1; will take roll number 1 as input
|
||||||
p_book VARCHAR2(255); -- specify book name here since Live SQL cannot take input from user
|
p_book VARCHAR2(255); -- specify book name here since Live SQL cannot take input from user
|
||||||
-- Eg. p_book VARCHAR2(255) := 'DBMS'
|
-- Eg. p_book VARCHAR2(255) := 'DBMS';
|
||||||
p_issueDate DATE;
|
p_issueDate DATE;
|
||||||
totalDays NUMBER;
|
totalDays NUMBER;
|
||||||
currentDate DATE;
|
currentDate DATE;
|
||||||
|
Loading…
Reference in New Issue
Block a user