Smooth operation
Our online test engine and the windows software of the 1Z0-147 exam materials: Oracle9i program with pl/sql will greatly motivate your spirits. The exercises can be finished on computers, which can help you get rid of the boring books. The operation of the 1Z0-147 study guide is extremely smooth because the system we design has strong compatibility with your computers. It means that no matter how many software you have installed on your computers, our 1Z0-147 learning materials will never be influenced. Also, our 1Z0-147 study guide just need to be opened with internet service for the first time. Later, you can freely take it everywhere. Also, our system can support long time usage. The durability and persistence can stand the test of practice. All in all, the performance of our 1Z0-147 learning materials is excellent. Come to enjoy the pleasant learning process. It is no use if you do not try by yourself.
Good reputation
Our 1Z0-147 exam materials: Oracle9i program with pl/sql are the most reliable products for customers. If you need to prepare an exam, we hope that you can choose our 1Z0-147 study guide as your top choice. In the past ten years, we have overcome many difficulties and never give up. Fortunately, we have survived and developed well. So our company has been regarded as the most excellent seller of the 1Z0-147 learning materials. We positively assume the social responsibility and manufacture the high quality study materials for our customers. Never have we made our customers disappointed about our 1Z0-147 study guide. So we have enjoyed good reputation in the market for about ten years. In the future, we will stay integrity and research more useful 1Z0-147 learning materials for our customers. Please continue supporting our products.
Life is always full of ups and downs. You can never stay wealthy all the time. So from now on, you are advised to invest on yourself. The most valuable investment is learning. Perhaps our 1Z0-147 exam materials: Oracle9i program with pl/sql can become your top choice. Our study materials have won many people's strong support. Now, they have gained wealth and respect with the guidance of our 1Z0-147 learning materials. At the same time, the price is not so high. You totally can afford them. Do not make excuses for your laziness. Please take immediate actions. Our 1Z0-147 study guide is extremely superior.
Constant improvement
Our company pays great attention to improve our 1Z0-147 exam materials: Oracle9i program with pl/sql. Our aim is to develop all types study material about the official exam. Then you will relieve from heavy study load and pressure. Also, our researchers are researching new technology about the 1Z0-147 learning materials. After all, there always exists fierce competition among companies in the same field. Once we stop improve our 1Z0-147 study guide, other companies will soon replace us. The most important reason is that we want to be responsible for our customers. They give us strong support in the past ten years. Luckily, our 1Z0-147 learning materials never let them down. Our company is developing so fast and healthy. Up to now, we have made many achievements. Also, the 1Z0-147 study guide is always popular in the market. All in all, we will keep up with the development of the society.
Oracle 1Z0-147 Exam Syllabus Topics:
| Section | Objectives |
|---|---|
| PL/SQL Fundamentals | - PL/SQL block structure - Variables and data types |
| Advanced PL/SQL Features | - Collections (associative arrays, nested tables) - Records and complex data types |
| Packages | - Package specification and body - Advantages of packages |
| Triggers | - DML triggers - Trigger timing and events |
| SQL Fundamentals | - Basic SELECT statements and filtering - Joins and set operations |
| Exception Handling | - Predefined exceptions - User-defined exceptions |
| Cursors | - Cursor FOR loops - Implicit and explicit cursors |
| Stored Procedures and Functions | - Creation and execution - Parameters and return values |
| Control Structures | - Loops (FOR, WHILE, LOOP) - Conditional statements (IF, CASE) |
Oracle9i program with pl/sql Sample Questions:
1. Examine this package:
CREATE OR REPLACE PACKAGE manage_emps
IS
tax_rate CONSTANT NUMBER(5,2) := .28;
v_id NUMBER;
PROCEDURE insert_emp (p_deptno NUMBER, p_sal NUMBER);
PROCEDURE delete_emp;
PROCEDURE update_emp;
FUNCTION calc_tax (p_sal NUMBER)
RETURN NUMBER;
END manage_emps;
/
CREATE OR REPLACE PACKAGE BODY manage_emps
IS
PROCEDURE update_sal
(p_raise_amt NUMBER)
IS
BEGIN UPDATE emp SET sal = (sal * p_raise_emt) + sal WHERE empno = v_id; END; PROCEDURE insert_emp (p_deptno NUMBER, p_sal NUMBER) IS BEGIN INSERT INTO emp(empno, deptno, sal) VALYES(v_id, p_depntno, p_sal); END insert_emp; PROCEDURE delete_emp IS BEGIN DELETE FROM emp WHERE empno = v_id; END delete_emp; PROCEDURE update_emp IS v_sal NUMBER(10, 2); v_raise NUMBER(10, 2); BEGIN SELECT sal INTO v_sal FROM emp WHERE empno = v_id; IF v_sal < 500 THEN v_raise := .05; ELSIP v_sal < 1000 THEN v_raise := .07; ELSE v_raise := .04; END IF; update_sal(v_raise); END update_emp; FUNCTION calc_tax (p_sal NUMBER) RETURN NUMBER IS BEGIN RETURN p_sal * tax_rate;
END calc_tax;
END manage_emps;
/
How many public procedures are in the MANAGE_EMPS package?
A) One
B) Four
C) Five
D) Two
E) Three
2. You need to remove the database triggerBUSINESS_HOUR.Which command do you use to remove the trigger in the SQL *Plus environment?
A) DELETE FROM USER_TRIGGERS
WHERE TRIGGER_NAME = 'BUSINESS_HOUR';
B) DROP TRIGGER business_hour;
C) REMOVE TRIGGER business_hour;
D) DELETE TRIGGER business_hour;
E) ALTER TRIGGER business_hour REMOVE;
3. You want to create procedures, functions and packages Which privilege do you need?
A) CREATE FUNCTION, CREATE PROCEDURE, CREATE PACKAGE system privileges
B) CREATE ANY CODE object privilege
C) CREATE PACKAGE system privilege
D) EXECUTE CODE object privilege
E) CREATE PROCEDURE system privilege
4. Examine this package: CREATE OR REPLACE PACKAGE BB_PACK IS V_MAX_TEAM_SALARY NUMBER ( 12,2) ; PROCEDURE ADD_PLAYER (V_ID IN NUMBER, V_LAST_NAME VARCHAR2, V_SALARY NUMBER); END BB_PACK; / CREATE OR REPLACE PACKAGE BODY BB_PACK
IS
V_PLAYER_AVG NUMBER84,3);
PROCEDURE UPD_PLAYER_STAT
(V_ID IN NUMBER, V_AB IN NUMBER DEFAULT 4, V_HITS IN NUMBER)
IS
BEGIN
UPDATE PLAYER_BAT_STAT
SET AT_BATS = AT_BATS + V_AB,
HITS = HITS + V_HITS
WHERE PLAYER_ID = V_ID;
COMMIT;
VALIDATE_PLAYER_STAT(V_ID);
END UPD_PLAYER_STAT;
PROCEDURE ADD_PLAYER
(V_ID IN NUMBER, V_LAST_NAME VARCHAR2, V_SALARY NUMBERI)
IS
BEGIN
INSERT INTO PLAYER (ID,LAST_NAME, SALARY)
VALUES (V_ID, V_LAST_NAME, V_SALARY);
UPD _PLAYER_STAT (V_ID, 0, 0) ;
END ADD_PLAYER;
END BB_PACK;
If you add an IF statement to the ADD_PLAYER procedure which additional step must you
perform?
r A Recompile the ADD PLAYER procedure
Recompile both the BB PACK specification and body
A) Recompile the ADD_PLAYER procedure
B) Recompile the BB_PACK specification
C) Recompile both the BB_PACK specification and body
D) Recompile the BB_PACK body
5. You have an AFTER UPDATE row-level on the table EMP. The trigger queries the EMP table and inserts the updating user's information into the AUDIT_TABLE.
What happens when the user updates rows on the EMP table?
A) A compile time error occurs.
B) The trigger fires successfully. The update on the EMP table occurs, and data is inserted into theAUDIT_TABLE table.
C) A runtime error occurs. The update on the EMP table does not take place, but the insert into the AUDIT_TABLE occurs.
D) A runtime error occurs. The effect of trigger body and the triggering statement are rolled back.
E) A runtime error occurs. The effect of trigger body is rolled back, but the update on the EMP table takes place.
Solutions:
| Question # 1 Answer: E | Question # 2 Answer: B | Question # 3 Answer: E | Question # 4 Answer: D | Question # 5 Answer: D |








