What can you do with the DBMS_LOB package?
A. Use the DBMS_LOB.WRITE procedure to write data to a BFILE.
B. Use the DBMS_LOB.BFILENAME function to locate an external BFILE.
C. Use the DBMS_LOB.FILEEXISTS function to find the location of a BFILE.
D. Use the DBMS_LOB.FILECLOSE procedure to close the file being accessed.
Examine this procedure:
CREATE OR REPLACE PROCEDURE ADD_PLAYER (V_ID IN NUMBER, V_LAST_NAME VARCHAR2) IS BEGIN INSERT INTO PLAYER (ID,LAST_NAME) VALUES (V_ID, V_LAST_NAME);
This procedure must invoke the UPD_BAT_STAT procedure and pass a parameter. Which statement, when added to the above procedure, will successfully invoke the UPD_BAT_STAT procedure?
A. EXECUTE UPD_BAT_STAT(V_ID);
C. RUN UPD_BAT_STAT(V_ID);
D. START UPD_BAT_STAT(V_ID);
Which three describe a stored procedure? (Choose three.)
A. A stored procedure is typically written in SQL.
B. By default, a stored procedure executes with the privileges of its owner.
C. A stored procedure has three parts: the specification, the body, and the exception handler part .
D. A stored procedure is stored in the database and can be shared by a number of programs.
E. A stored procedure offers some advantages over a standalone SQL statement, such as programmable functionality and compiled code.
Examine this procedure:
CREATE OR REPLACE PROCEDURE INSERT_TEAM (V_ID in NUMBER, V_CITY in VARCHAR2 DEFAULT ‘AUSTIN’, V_NAME in VARCHAR2) IS BEGIN INSERT INTO TEAM (id, city, name) VALUES (v_id, v_city, v_name);
Which two statements will successfully invoke this procedure in SQL*Plus? (Choose two.)
A. EXECUTE INSERT_TEAM;
B. EXECUTE INSERT_TEAM(3, V_NAME=>’LONGHORNS’, V_CITY=>’AUSTIN’);
C. EXECUTE INSERT_TEAM(3,’AUSTIN’,’LONGHORNS’);
D. EXECUTE INSERT_TEAM (V_ID := 3, V_NAME := ‘LONGHORNS’, V_CITY := ‘AUSTIN’);
E. EXECUTE INSERT_TEAM (3,’LONGHORNS’);
You need to create a DML trigger. Which five pieces need to be identified? (Choose five.)
B. DML event
C. trigger body
D. package body
E. package name
F. trigger name
G. system event
H. trigger timing
This statement fails when executed: CREATE OR REPLACE TRIGGER CALC_TEAM_AVG AFTER INSERT ON PLAYER BEGIN INSERT INTO PLAYER_BAT_STAT (PLAYER_ID, SEASON_YEAR,AT_BATS,HITS) VALUES (:NEW.ID, 1997, 0,0); END; To which type must you convert the trigger to correct the error?
C. ORACLE FORM trigger
The add_player , upd_player_stat , and upd_pitcher_stat procedures are grouped together in a package. A variable must be shared among only these procedures. Where should you declare this variable?
A. in the package body
B. in a database trigger
C. in the package specification
D. in each procedure’s DECLARE section, using the exact same name in each
A. The value of DISCOUNT_RATE always remains 0.00 in a session.
B. The value of DISCOUNT_RATE is set to 0.10 each time the package is invoked in a session.
C. The value of DISCOUNT_RATE is set to 1.00 each time the procedure DISPLAY_PRICE is invoked.
D. The value of DISCOUNT_RATE is set to 0.10 when the package is invoked for the first time in a session.
A. g_comm has a value of 15 at 9:06am for Smith.
B. g_comm has a value of 15 at 9:06am for Jones.
C. g_comm has a value of 20 at 9:06am for both Jones and Smith.
D. g_comm has a value of 15 at 9:03am for both Jones and Smith.
E. g_comm has a value of 10 at 9:06am for both Jones and Smith.
F. g_comm has a value of 10 at 9:03 for both Jones and Smith.
A. DROP gen_email_name;
B. REMOVE gen_email_name;
C. DELETE gen_email_name;
D. TRUNCATE gen_email_name;
E. DROP FUNCTION gen_email_name;
F. ALTER FUNCTION gen_email_name REMOVE;
Passing your Oracle 1Z0-147 Exam by using the latest Oracle 1Z0-147 Exam Demo Full Version: http://www.braindump2go.com/1z0-147.html