nerdexam
Oracle

1Z0-141 · Question #140

You are building two forms. Each form has a button and a non-base table field. When the button is pressed, a complicated calculation is executed. The calculation code queries data from several…

The correct answer is C. a stored subprogram in the database. See the full explanation below for the reasoning.

Question

You are building two forms. Each form has a button and a non-base table field. When the button is pressed, a complicated calculation is executed. The calculation code queries data from several tables in the database. When the calculation completes, it returns a single value to the non-base table field. To optimize performance and maintainability, which PL/SQL structure should be used?

Options

  • Aa subprogram in each form
  • Ba trigger in each form
  • Ca stored subprogram in the database
  • Da subprogram in a library that is attached to each form

How the community answered

(37 responses)
  • A
    14% (5)
  • B
    3% (1)
  • C
    78% (29)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-141 Practice