Google News
logo
PL/SQL - Quiz(MCQ)
Choose the correct syntax to declare a constant.
A)
datatype CONSTANT constant_name := VALUE;
B)
constant_name CONSTANT datatype =: VALUE;
C)
datatype CONSTANT constant_name =: VALUE;
D)
constant_name CONSTANT datatype := VALUE;

Correct Answer :   constant_name CONSTANT datatype := VALUE;


Explanation :

The correct syntax to declare a constant is 
constant_name CONSTANT datatype := VALUE;

Advertisement