nerdexam
Oracle

1Z0-144 · Question #27

1Z0-144 Question #27: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-144 to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.

Question

View Exhibit1 and examine the structure of the product table. View Exhiblt2 and examine the procedure you created. The procedure uses the prod id to determine whether the list price is within a given range. You then create the following trigger on the product table. CREATE OR REPLACE TRIGGER check_price__trg BEF0RE INSERT OR UPDATE OF prod_id, prod_list_price ON product FOR EACH ROW WHEN (nev.prod_id <> NVX(old.prod_id,0) OR New.prod__list_price <> NVL(old.prod_list_price, 0) ) BEGIN check_price (: new.prod_id) ; END / Examine the following update command for an existing row in the product table. SQL> UPDATE produce SET prod_list_price = 10 WHERE prod_id=115; Why does it generate an error?

Exhibits

1Z0-144 question #27 exhibit 1
1Z0-144 question #27 exhibit 2

Options

  • ABecause the procedure call in the trigger is not valid
  • BBecause the condition specified in the when clause is not valid
  • CBecause both the procedure and trigger access the same table
  • DBecause the WHEN clause cannot be used with a row-level trigger
  • EBecause the column list specified with UPDATE in the trigger is not valid

Unlock 1Z0-144 to see the answer

You've previewed enough free 1Z0-144 questions. Unlock 1Z0-144 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-144 Practice