移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on theprocedure to many database users:  CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2, v_mgr NUMBER, v_loc NUMBER) BEGIN  INSERT INTO hr.departments VALUES (v_deptno, v_dname, v_mgr, v_loc); END;  The users having permission to execute the procedure are able to insert records into the  DEPARTMENTStable even though they do not have the INSERT privilege on the table. You want only those users whohave privileges on the DEPARTMENTS table to be able to execute the procedure successfully.  What would you suggest to the PL/SQL developers to achieve this()

发布日期:2022-07-05

The HR user creates a stand-alone procedure as fol...
A

Create the procedure with definer’s right.

B

Create the procedure with invoker’s right.

C

Grant the EXECUTE privilege with GRANT OPTION on the procedure to selected users.

D

Create the procedure as part of a PL/SQL package and grant the EXECUTE privilege on the package to selected users

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!