The syntax of the following code fragment is correct:
IF rec_order.state = 'VA' THEN
lv_tax_num := rec_order.sub * .06;
ELSEIF rec_order.state = 'ME' THEN
lv_tax_num := rec_order.sub * .05;
ELSE
lv_tax_num := rec_order.sub * .04;
END IF
Correct Answer:
Verified
Q5: When an IF statement checks only one
Q6: The keyword DEFAULT can be used in
Q7: The only required sections of a PL/SQL
Q8: The CASE statement begins with the keyword
Q11: The following code fragment is a correct
Q12: The term anonymous blocks refers to blocks
Q13: An infinite loop causes a program to
Q14: The EXIT WHEN clause ensures that a
Q15: The BEGIN section of a PL/SQL block
Q15: The BEGIN section of a PL/SQL block
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents