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

Note! Following 1z0-144 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

Verified By IT Certified Experts

CertsTopics.com Certified Safe Files

Up-To-Date Exam Study Material

99.5% High Success Pass Rate

100% Accurate Answers

Instant Downloads

Exam Questions And Answers PDF

Try Demo Before You Buy

Certification Exams with Helpful Questions And Answers

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

Question 1

What is the correct definition of the persistent state of a packaged variable?

Options:

A.

It is a private variable defined in a procedure or function within a package body whose value is consistent within a user session.

B.

It is a public variable in a package specification whose value is consistent within a user session.

C.

It is a private variable in a package body whose value is consistent across all current active sessions.

D.

It is a public variable in a package specification whose value is always consistent across all current active sessions.

Buy Now
Question 2

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 3

View Exhibit1 and examine the structure of the employees table.

User SCOTT needs to generate a text report that contains the names of all employees and their salaries.

Examine the following commands issued by the DBA:

SQL_CREATE DICTORY my_dir AS '/temp/my_files* ;

SQL_GRANT WRITE ON DIRECTORY my_dir TO SCOTT;

View Exhibit2 and examine the procedure code. You issue the following command:

You issue the following command:

SQL_EXEC sal_5tatus ('MY_DIR', ‘EMPREPORT.TXT')

What is the outcome?

Options:

A.

It executes successfully and creates the report.

B.

It gives an error because the text file should be opened in append mode.

C.

It gives an error because the "no data found" condition is not handled to come out of the loop.

D.

It gives an error because user SCOTT should be granted both read and write privileges to the directory alias.

E.

It executes but no data is written to the text file because the FFLUSH subprogram is not used to write all the data buffered in memory to a file.