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

Oracle Oracle Database PL/SQL Developer Certified Professional 1z0-149 New Questions

Page: 2 / 2
Total 65 questions

Oracle Database 19c: Program with PL/SQL Questions and Answers

Question 5

Which statement is true about user-defined records?

Options:

A.

They can be returned from a function.

B.

Field types must match column types.

C.

The number of fields must match the number of columns in a table.

D.

Field names must match selected column names.

Question 6

Which two are true about using the ACCESSIBLE BY clause? (Choose two.)

Options:

A.

It can be used in the declaration of object types.

B.

It must be specified in the heading of a package specification.

C.

The check is enforced by this clause for direct access and access through dynamic SQL.

D.

It can be used for individual procedures and functions declared in a package specification.

E.

It must be specified in the heading of a package body.

Question 7

Which three are true about functions and procedures? (Choose three.)

Options:

A.

The ACCESSIBLE BY clause can be used only for procedures.

B.

In a function, every execution path must lead to a RETURN statement.

C.

Both can have only constants as actual parameters for IN mode parameters.

D.

Both can be invoked from within SQL statements.

E.

In a procedure the RETURN statement cannot specify an expression.

F.

In a function every RETURN statement must specify an expression.

Question 8

Which is the correct method to implement a local subprogram in an anonymous block?

Options:

A.

B.

C.

D.

Page: 2 / 2
Total 65 questions