OCP 10G Developer
[1Z0-047] Oracle Database 10g : lntroduction to 10g SQL
[1Z0-147] Oracle Database 10g :PL/SQL 1
[1Z0-146] Oracle Database 10g : Advanced PL/SQL 2
Oracle 1Z0-147 (Oracle9i program with pl/sql) 시험을 어떻게 공부하면 패스할수 있을지 고민중이시면 근심걱정 버리시고 Pass4Test 의 Oracle 1Z0-147 (Oracle9i program with pl/sql) 덤프로 가보세요. 문항수가 적고 적중율이 높은 세련된 Oracle 1Z0-147 (Oracle9i program with pl/sql) 시험준비 공부자료는 Pass4Test제품이 최고입니다.연구결과에 의하면 Oracle 1Z0-147 (Oracle9i program with pl/s ql) 시험은 너무 어려워 시험패스율이 낮다고 합니다. Pass4Test의 Oracle 1Z0-147 (Oracle9i program with pl/s ql) 덤프와 만나면 Oracle 1Z0-147 (Oracle9i program with pl/s ql) 험에 두려움을 느끼지 않으셔도 됩니다. Pass4Test의 Oracle 1Z0-147 (Oracle9i program with pl/s ql) 프는 엘리트한 IT전문가들이 실제시험을 연구하여 정리해둔 퍼펙트한 시험대비 공부자료입니다. 저희 덤프만 공부하시면 시간도 절약하고 가격도 친근하며 시험준비로 인한 여러방면의 스트레스를 적게 받아 Oracle 1Z0-147 ( Oracle9i program with pl/s ql) 시험패스가 한결 쉬워집니다.
NO.1 You have a table with the following definition: CREATE TABLE long_tab (id NUMBER, long_col
LONG); You need to convert the LONG_COL column from a LONG data type to a LOB data type.
Which statement accomplishes this task?
A.ALTER TABLE long_tab MODIFY (LONG_COL CLOB);
B.EXECUTE dbms_lob.migrate(long_tab, long_col, clob)
C.EXECUTE dbms_manage.lob.migrate(long_tab, long_col, clob)
D.EXECUTE utl_lob.migrate(long_tab, long_col, clob)
E.EXECUTE utl_manage_lob.migrate(long_tab, long_col, clob)
Correct:A
NO.2 Examine this code:
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;
Correct:E
NO.3 Examine this package:
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.
Correct:D
NO.4 Examine this package:
A.one
B.two
C.three
D.four
E.five
F.none
Correct:F
NO.5 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?
A.row
B.statement
C.ORACLE FORM trigger
D.before
Correct:A
NO.6 Examine this package: CREATE OR REPLACE PACKAGE pack_cur IS CURSOR c1 IS SELECT
prodid FROM product ORDER BY prodid DESC; PROCEDURE proc1; PROCEDURE proc2; END
pack_cur; / CREATE OR REPLACE PACKAGE BODY pack_cur IS v_prodid NUMBER;
PROCEDURE proc1 IS BEGIN OPEN c1; LOOP FETCH c1 INTO v_prodid;
DBMS_OUTPUT.PUT_LINE('Row is: ' || c1%ROWCOUNT); EXIT WHEN c1%ROWCOUNT >= 3; END
LOOP; END proc1; PROCEDURE proc2 IS BEGIN LOOP FETCH c1 INTO v_prodid;
DBMS_OUTPUT.PUT_LINE('Row is: ' ||c1%ROWCOUNT); EXIT WHEN c1%ROWCOUNT >= 6; END
LOOP; CLOSE c1; END proc2; END pack_cur; / The product table has more than 1000 rows. The
SQL*Plus SERVEROUTPUT setting is turned on in your session. The product table has more than
1000 rows. The SQL*Plus SERVEROUTPUT setting is turned on in your session. The product table
has more than 1000 rows. The SQL*Plus SERVEROUTPUT setting is turned on in your session.
You execute the procedure PROC1 from SQL*Plus with the command: The product table has more
than 1000 rows. The SQL*Plus SERVEROUTPUT setting is turned on in your session. You execute
the procedure PROC1 from SQL*Plus with the command: EXECUTE pack_cur.proc1 You execute
the procedure PROC1 from SQL*Plus with the command: EXECUTE pack_cur.proc1 You execute
the procedure PROC1 from SQL*Plus with the command: EXECUTE pack_cur.proc1 What is the
output in your session? EXECUTE pack_cur.proc1 What is the output in your session? What is the
output in your session? A. ERROR at line 1: What is the output in your session? A. ERROR at line
1: A. ERROR at line 1: B. Row is:
A.ERROR at line 1:
B.Row is:
C.Row is:
D.Row is: Row is:
E.Row is: 1 Row is:
F.Row is: 1 Row is: 2
G.Row is: 1 Row is: 2 Row is: 3
H.Row is: 1 Row is: 2 Row is: 3 Row is: 2 Row is: 3
I.Row is: 4
J.Row is: 4 Row is: 5
K.Row is: 4 Row is: 5 Row is: 6 Row is: 5 Row is: 6
Correct:E F G H
NO.7 Examine this code:
A.This function is invalid.
B.This function can be used against any table.
C.This function cannot be used in a SELECT statement.
D.This function can be used only if the two parameters passed in are not null values.
E.This function will generate a string based on 2 character values passed into the function.
F.This function can be used only on tables where there is a p_first and p_last column.
Correct:B E
NO.8 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
Correct:A
NO.9 What happens during the execute phase with dynamic SQL for INSERT, UPDATE, and DELETE
operations?
A.The rows are selected and ordered.
B.The validity of the SQL statement is established.
C.An area of memory is established to process the SQL statement.
D.The SQL statement is run and the number of rows processed is returned.
E.The area of memory established to process the SQL statement is released.
Correct:D
NO.10 You need to create a DML trigger. Which five pieces need to be identified? (Choose five.)
A.table
B.DML event
C.trigger body
D.package body
E.package name
F.trigger name
G.system event
H.trigger timing
Correct:A B C F H
NO.11 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.
Correct:D
NO.12 Examine this code:
A.DML trigger
B.INSTEAD OF trigger
C.application trigger
D.system event trigger
E.This is an invalid trigger.
Correct:E
NO.13 Examine this code:
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.
Correct:B
NO.14 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); COMMIT; END; 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);
B.UPD_BAT_STAT(V_ID);
C.RUN UPD_BAT_STAT(V_ID);
D.START UPD_BAT_STAT(V_ID);
Correct:B
NO.15 You need to remove the database trigger BUSINESS_HOUR. Which command do you use to
remove the trigger in the SQL*Plus environment?
A.DROP TRIGGER business_hour;
B.DELETE TRIGGER business_hour;
C.REMOVE TRIGGER business_hour;
D.ALTER TRIGGER business_hour REMOVE;
E.DELETE FROM USER_TRIGGERS WHERE TRIGGER_NAME = 'BUSINESS_HOUR';
Correct:A
NO.16 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.
Correct:B D E
NO.17 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); COMMIT; END; 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');
Correct:B C
NO.18 Which three are valid ways to minimize dependency failure? (Choose three.)
A.querying with the SELECT * notation
B.declaring variables with the %TYPE attribute
C.specifying schema names when referencing objects
D.declaring records by using the %ROWTYPE attribute
E.specifying package.procedure notation while executing procedures
Correct:A B D
NO.19 All users currently have the INSERT privilege on the PLAYER table. You only want your users
to insert into this table using the ADD_PLAYER procedure. Which two actions must you take?
(Choose two.)
A.GRANT SELECT ON ADD_PLAYER TO PUBLIC;
B.GRANT EXECUTE ON ADD_PLAYER TO PUBLIC;
C.GRANT INSERT ON PLAYER TO PUBLIC;
D.GRANT EXECUTE,INSERT ON ADD_PLAYER TO PUBLIC;
E.REVOKE INSERT ON PLAYER FROM PUBLIC;
Correct:B E
NO.20 Procedure PROCESS_EMP references the table EMP . Procedure UPDATE_EMP updates rows
of table EMP through procedure PROCESS_EMP . There is a remote procedure QUERY_EMP that
queries the EMP table through the local procedure PROCESS_EMP . The dependency mode is set
to TIMESTAMP in this session. Which two statements are true? (Choose two.)
A.If the signature of procedure PROCESS_EMP is modified and successfully recompiles, the EMP table
is invalidated.
B.If internal logic of procedure PROCESS_EMP is modified and successfully recompiles, UPDATE_EMP
gets invalidated and will recompile when invoked for the first time.
C.If the signature of procedure PROCESS_EMP is modified and successfully recompiles, UPDATE_EMP
gets invalidated and will recompile when invoked for the first time.
D.If internal logic of procedure PROCESS_EMP is modified and successfully recompiles, QUERY_EMP
gets invalidated and will recompile when invoked for the first time.
E.If internal logic of procedure PROCESS_EMP is modified and successfully recompiles, QUERY_EMP
gets invalidated and will recompile when invoked for the second time.
Correct:B E
Oracle 1Z0-147 (Oracle9i program with pl/s ql) 덤프공부자료
Posted 2013/5/16 3:34:17 | Category: 미분류 | Tag: