Posted on
5/5 - (3 votes)

100% Real & Accurate 1Z0-144 Questions and Answers with Free and Fast Updates

Get Unlimited Access to 1Z0-144 Certification Exam Cert Guide

Certification Path

The Oracle Database 11g certification includes only one 1Z0-144 exam.

 

QUESTION 56
View the Exhibit and examine the structure of the EMP table.

Which stages are performed when the above block is executed? (Choose all that apply)

 
 
 
 

QUESTION 57
You create a procedure to handle the processing of bank current accounts which rolls back payment transactions if the overdraft limit is exceeded.
The procedure should return an “error” condition to the caller in a manner consistent with other Oracle server errors.
Which construct should be used to handle this requirement?

 
 
 
 

QUESTION 58
View the Exhibit and examine the structure of the employees table.

Execute the following block of code:

What is the outcome?

 
 
 
 

QUESTION 59
View Exhibit 1 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 DIRECTORY my_dir AS ‘/temp/my_files’;
SQL>GRANT WRITE ON DIRECTORY my_dir TO scott;
View Exhibit 2 and examine the procedure code.

You issue the following command:
SQL>EXEC sal_status (‘MY_DIR’, ‘EMPREPORT.TXT’)
What is the outcome?

 
 
 
 
 

QUESTION 60
View Exhibit1 and examine the structure of the product table.

View Exhiblt2 and examine the procedure you created. The procedure uses the prod id to determine whether the list price is within a given range.

You then create the following trigger on the product table.
CREATE OR REPLACE TRIGGER check_price__trg
BEF0RE INSERT OR UPDATE OF prod_id, prod_list_price
ON product FOR EACH ROW
WHEN (nev.prod_id <> NVX(old.prod_id,0) OR
New.prod__list_price <> NVL(old.prod_list_price, 0) )
BEGIN
check_price (:new.prod_id) ;
END
/
Examine the following update command for an existing row in the product table.
SQL> UPDATE produce SET prod_list_price = 10 WHERE prod_id=115;
Why does it generate an error?

 
 
 
 
 

QUESTION 61
View the Exhibit and examine the structure of the EMP table.

Which stages are performed when the above block is executed? (Choose all that apply)

 
 
 
 

QUESTION 62
The STRING_TAB table has the following structure:

View the Exhibit and examine the code.

What is the outcome on execution?

 
 
 
 

QUESTION 63
View Exhibit1 and examine the structure of the EMP table.

View Exhibit2 and examine the code.

EKPNOS 7845 and 7900 exist in the EMP table.
Which two calls to the RAISE_SALABY procedure in the anonymous block execute successfully? (Choose two.)

 
 
 
 

QUESTION 64
ORDER_TOTAL is a column in the orders table with the data type and size as number (8, 2) Examine the following code:

Which statement is correct about the above code?

 
 
 
 

QUESTION 65
View Exhibit1 and examine the structure of the product table.

View Exhiblt2 and examine the procedure you created. The procedure uses the prod id to determine whether the list price is within a given range.

You then create the following trigger on the product table.
CREATE OR REPLACE TRIGGER check_price__trg BEF0RE INSERT OR UPDATE OF prod_id, prod_list_price ON product FOR EACH ROW WHEN(nev.prod_id <> NVX(old.prod_id,0) OR New.prod__list_price <> NVL(old.prod_list_price, 0) ) BEGIN check_price (:new.prod_id) ; END /
Examine the following update command for an existing row in the product table.
SQL> UPDATE produce SET prod_list_price = 10 WHERE prod_id=115;
Why does it generate an error?

 
 
 
 
 

QUESTION 66
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.

 
 
 
 
 

QUESTION 67
View the Exhibit to examine the PL/SQL block.

Which statement is true about the execution of the PL/SQL block?

 
 
 
 

QUESTION 68
Examine the following block of code:

Which line in the above code would result in errors upon execution?

 
 
 
 

QUESTION 69
Which two statements are true about triggers? (Choose two.)

 
 
 
 

QUESTION 70
/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 public:
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?

 
 
 
 

QUESTION 71
View Exhibit 1 and examine the structure of the EMP table.

View Exhlbit2 and examine the code of the packages that you have created.

You issue the following command:
SQL> DROP PACKAGE manage_emp;
What is the outcome?

 
 
 
 

QUESTION 72
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.)

 
 
 
 

QUESTION 73
Examine the following package specification.
SQL>CREATE OR REPLACE PACKAGE emp_pkf IS
PROCEDURE search_emp (empdet NUMBER);
PROCEDURE search_emp (empdet DATE);
PROCEDURE search_emp (empdet NUMBER); RETURN VERCHAR2
PROCEDURE search_emp (empdet NUMBER); RETURN DATE
END emp_pkg
/
The package is compiled successfully
Why would it generate an error at run tune?

 
 
 
 

QUESTION 74
Examine the following partial code:

Which statement is correct about the unnamed block of code at the end of a package body?

 
 
 
 

Reliable Study Materials for 1Z0-144 Exam Success For Sure: https://www.passleadervce.com/OtherOracleCertification/reliable-1Z0-144-exam-learning-guide.html

         

Related Links: myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter the text from the image below