AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-146





Question ID 2851

Examine the structure of the TEST_DETAILS table: Name Null? Type
TEST_ID NUMBER
DESCRIPTION CLOB
DESCRIPTION data was entered earlier and saved for TEST_ID 12.
 
You execute this PL/SQL block to add data to the end of the existing data in the DESCRIPTION
column for TEST_ID 12:
DECLARE
clob_loc CLOB;
buf CHAR(12);
BEGIN
SELECT description INTO clob_loc FROM test_details WHERE test_id = 12 ;
buf := '0123456789';
DBMS_LOB.WRITEAPPEND(clob_loc,DBMS_LOB.GETLENGTH(buf), buf);
COMMIT;
END;
/
It generates an error on execution.
What correction should you do to achieve the required result?
 

Option A

A.    WRITEAPPEND must be replaced with APPEND.
 

Option B

B.    The BUF variable data type must be changed to CLOB.
 

Option C

C.    FOR UPDATE must be added to the SELECT statement.
 

Option D

D.    The GETLENGTH routine must be replaced with the LENGTH built-in function in WRITEAPPEND.
 

Correct Answer C
Explanation


Question ID 2852

Examine the following parameter values for a session:
PLSQL_CODE_TYPE = NATIVE PLSQL_OPTIMIZE_LEVEL = 2
Which two statements are true in this scenario? (Choose two.)

 

Option A

A.    The compiler automatically inlines subprograms even if you specify that they not be inlined.
 

Option B

B.    The compiler optimizes PL/SQL programs by elimination of unnecessary computations and exceptions.
 

Option C

C.    PL/SQL statements in a PL/SQL program unit are compiled into machine-readable code, and stored in the SYSTEM tablespace.
 

Option D

D.    PL/SQL statements in a PL/SQL program unit are compiled into an intermediate form, machine-readable code, which is stored in the database dictionary.

Correct Answer B,C
Explanation

Send email to admin@getfreedumps for new dumps request!!!