1Z0-144 Exam Question 11

/temp/my_files is an existing folder in the server, facultylist.txt is an existing text file in this folder
Examine the following commands that are executed by the DBA:
SQL>CREATE DIRECTION my_dir AS ' /temp/my_files': SQL>GRANT READ ON DIRECTORY my_dir To pubiic:
View the Exhibit and examine the procedure created by user SCOTT to read the list of faculty names from the text file.

SCOTT executes the procedure as follows:
SQL>SET SERVEROUTPUT ON
SQL>EXEC read_file ('MY_DIR', FACULTYLIST.TXT')
What is the outcome?
  • 1Z0-144 Exam Question 12

    View the Exhibit to examine the PL/SQL code.

    SERVEROUTPUT is on for the session.
    Which statement is true about the execution of the code?
  • 1Z0-144 Exam Question 13

    View the Exhibit and examine the structure of the departments table in SCOTT's schema.

    Examine the following block of code:

    The above procedure is created by user SCOTT. Another user JONES needs to use the procedure.
    Which two statements are true in the above scenario? (Choose two.)
  • 1Z0-144 Exam Question 14

    Examine the following snippet of PL/SQL code:

    View the exhibit for table description of EMPLOYEES table. The EMPLOYEES table has
    200 rows.

    Identify open statement for opening the cursor that fetches the result as consisting of employees with JOB_ID as 'ST_CLERK' and salary greater than 3000.
  • 1Z0-144 Exam Question 15

    Examine the following PL/SQL code:

    The server output is on for the session. Which statement is true about the execution of the code?