Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Oracle Database 11g Changed 1z0-144 Questions

Page: 2 / 4
Total 103 questions

Oracle Database 11g: Program with PL/SQL Questions and Answers

Question 5

View the exhibit and examine the structure of the products table.

Examine the following code

Which statement is true when the procedure DELETE_DETAILS is invoked?

Options:

A.

It executes successfully but no error messages get recorded in the DEBUG_OUTPUT table

B.

It executes successfully and any error messages get recorded in the DEBUG_OUTPUT table.

C.

It gives an error because PRAGMA AUTONOMOUS_TRANSACTION can be used only in packaged procedures.

D.

It gives an error because procedures containing PRAGMA AUTONOMOUS_TRANSACTION cannot be called from the exception section.

Question 6

Which statements correctly describe the features of functions and procedures? (Choose all that apply.)

Options:

A.

A procedure can contain a return statement without a value.

B.

A function can return multiple values using a single return clause.

C.

A procedure can be executed as part of a SQL expression or as a PL/SQL statement,

D.

A function can contain zero or more parameters that are transferred from the calling environment.

Question 7

Which two statements are true about the exit statement encountered in loop? (Choose two)

Options:

A.

The PL/SQL block execution terminates immediately after the exit statement.

B.

The loop completes immediately and control passes to the statement after end loop

C.

The statements after the exit statement in the Iteration are not executed before terminating the LOOP.

D.

The current iteration of the loop completes immediately and control passes to the next iteration of the loop.

Question 8

You execute the following block of code:

Which statement is true about the outcome?

Options:

A.

Both Output statements show different values.

B.

Both output statements show exactly the same values.

C.

It gives an error because the nested blocks are not labeled.

D.

It gives an error because the V_CUSTOMER variable have different types in the nested blocks

Page: 2 / 4
Total 103 questions