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

1z0-149 Exam Dumps - Oracle Database 19c: Program with PL/SQL

Go to page:
Question # 4

Which three PL/SQL-only data types can be used in queries and native dynamic SQL issued from PL/SQL in the server? (Choose three.)

A.

a record declared in an anonymous block

B.

a record declared in a procedure

C.

an associative array indexed by PLS_INTEGER

D.

a record declared in a package specification

E.

a predefined PL/SQL-only data type like BOOLEAN

F.

an associative array indexed by VARCHAR2

Full Access
Question # 5

Examine these statements issued by user SH which execute successfully:

DBMS_OUTPUT.PUT_LINE(p_price(i)); END LOOP; END; END products_pkg; /

Now, examine this anonymous block executed by SH:

Which is true about the anonymous block?

A.

It will execute successfully only if PriceList is removed from the DECLARE section and defined as a standalone collection type.

B.

It will execute successfully only if PriceList is defined as an associative array in the package and anonymous block.

C.

It will fail at lines 6 and 7.

D.

It will fail only at line 7.

Full Access
Question # 6

Which two are true about packages? (Choose two.)

A.

Variables and cursors defined in a package specification are visible to all subprograms in the same schema that has the package.

B.

Modifications to a packaged procedure's body automatically cause recompilation of subprograms that invoke the procedure.

C.

Package specifications can be compiled without their bodies.

D.

Standalone subprograms that reference a package can be compiled only after both the package specification and body are compiled.

E.

A package definition must have a specification and body.

Full Access
Question # 7

Which three are true about DDL triggers? (Choose three.)

A.

They cannot include the WHEN clause.

B.

They must be created in an enabled state.

C.

They can be fired when a table is truncated.

D.

They fire only when a DDL statement is executed by the owner of the trigger.

E.

They can be fired either before or after a DDL statement executes.

F.

They can be fired when a privilege is granted to a user.

G.

They must be created in a disabled state.

Full Access
Question # 8

Examine these statements:

Which is true?

A.

It will result in a compilation error for protected_proc because calling_proc does not exist.

B.

It will result in a compilation error for protected_proc because calling_proc must be prefixed with the schema name.

C.

It will result in a successful compilation because objects referenced in an ACCESSIBLE BY clause are not checked at compile time.

D.

With adequate privileges, PROTECTED_PROC procedure can be called by other programs apart from CALLING_PROC.

Full Access
Go to page: