Home »
PL/SQL MCQs
IF-THEN syntax is used –
31. IF-THEN syntax is used –
- Depending on whether the condition is TRUE or FALSE, you may want to execute one set of statements or another set.
- If the condition is TRUE, then you want statements to be executed
- As long as condition1 is TRUE, then one set of statements will be executed, and when condition2 is TRUE, another set will be executed.
- When condition1 is TRUE, one set of statements will be executed, and when both conditions are FALSE, a different set of statements will be executed.
Answer: B) If the condition is TRUE, then you want statements to be executed
Explanation:
If the condition is TRUE, then you want statements to be executed