num number(1) := &weekday | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

num number(1) := &weekday

Can anybody explain these code of PL/SQL? In this code I couldn't get why &weekday is used?

31st May 2021, 9:02 AM
AMAN GUPTA
AMAN GUPTA - avatar
1 Answer
0
The character "&" is used to receive a user input. Practically, when the procedure will reach that point, it will ask you for a value to assing to the variable. 😎
5th Feb 2022, 7:31 AM
Giacomo Montali