参考書 1Z0-147 Oracle 資格認定

参考書 1Z0-147 Oracle 資格認定

日本語版の全真模擬試験問題集, IT認定資格 IT試験問題集,IT認証,日語版試験問題集,問題と解答, テスト, 試験の用意をする,備考, 最新の問題集 資格難易度, 受験記対策 練習,練習資料,参考書,日本語版問題集,日本語日本語版練習資料,資格認定,資格, it training, exam24.jp ,it 問題と解答 資格難易度, 受験記対策 日本語版の資格試験問題集

1Z0-147 Oracle9i program with pl/sql 日本国内における最も信頼できるIT試験専門家として、最新の品質の高いIT試験の学習資料を提供し、お客様のために試験に順調に合格することを助けます.最高品質問題集/試験問題集100パーセント品質保証.問題集は弊社の数名のIT専門家より心をこめて編集して整理されたもので、正確率が99%以上に達します.

参考書 1Z0-147 Oracle 資格認定

QUESTION 1
You want to create procedures, functions and packages Which privilege do you need?
A. EXECUTE CODE object privilege
B. CREATE ANY CODE object privilege
C. CREATE PACKAGE system privilege
D. CREATE PROCEDURE system privilege
E. CREATE FUNCTION, CREATE PROCEDURE, CREATE PACKAGE system privileges

Answer: D

Explanation/Reference:
The privilege CREATE PROCEDURE gives the grantee the right to create procedures, functions, and packages within their schema. This privilege does not give the right to drop or alter the program constructs.
Incorrect Answers
A, B & C are not valid object or system privileges.

QUESTION 2
You have created a stored procedure DELETE_TEMP_TABLE that uses dynamic SQL to remove a table in your schema. You have granted the EXECUTE privilege to user A on this procedure. When user A executes the DELETE_TEMP_TABLE procedure, under whose privileges are the operations performed by default?
A. SYS privileges
B. Your privileges
C. Public privileges
D. User A’s privileges
E. User A cannot execute your procedure that has dynamic SQL.

Answer: B

Explanation/Reference:
When you create a procedure, it will be executed under the privileges of the creator, unless the procedure has the following statement AUTHID CURRENT_USER. If you specify AUTHID CURRENT_USER, the privileges of the current user are checked at run time, and external references are resolved in the schema of the current user. Like this example
SQL> CREATE OR REPLACE PROCEDURE delete_temp_table(v_table varchar2)
2 AUTHID CURRENT_USER
3 IS
4 BEGIN
5 EXECUTE IMMEDIATE ‘DROP TABLE ‘||V_TABLE;
6 END;
7 /
Procedure created.
If the procedure is create in this way then the EXECUTE IMMEDIATE statement will be execute under the privilege of the user who executes the procedure, but if we skip line 2 then the procedure will be executed under the privilege of the owner of the procedure.
Incorrect Answers
A: SYS privilege has nothing with is.
C: What is the public privileges? There is nothing called public privileges.
D: This will be true if the procedure contains the AUTHID CURRENT_USER.
E: There is no problem in having a dynamic SQL statement in Procedure.

QUESTION 3
When creating a function, in which section will you typically find the RETURN keyword?
A. HEADER only
B. DECLARATIVE
C. EXECUTABLE and HEADER
D. DECLARATIVE,EXECUTABLE and EXCEPTION HANDLING

Answer: C

参考書 1Z0-147 Oracle 資格認定

Leave a Reply