Home »
PL/SQL MCQs
Choose the correct syntax to declare a constant
19. Choose the correct syntax to declare a constant.
- constant_name CONSTANT datatype := VALUE;
- datatype CONSTANT constant_name := VALUE;
- constant_name CONST datatype =: VALUE;
- datatype CONSTANT constant_name =: VALUE;
Answer: A) constant_name CONSTANT datatype := VALUE;
Explanation:
The correct syntax to declare a constant is –
constant_name CONSTANT datatype := VALUE;