为了使用输出参数,需要在CREATE PROCEDURE语句中指定关键字()。A、OPTIONB、OUTPUTC、CHECKD、DEFAULT
为了使用输出参数,需要在CREATE PROCEDURE语句中指定关键字()。
- A、OPTION
- B、OUTPUT
- C、CHECK
- D、DEFAULT
相关考题:
下列哪种方法不能用于创建索引?_______A.使用CREATE INDEX语句B.使用CREATE TABLE语句C.使用ALTER TABLE语句D.使用CREATE DATABASE语句
在CREATE DATABASE语句中,使用()参数,可以为每个数据库指定联机重做日志文件的最大组数。 A.MAXFILESB.MAXLOGFILEC.MAXLOGFILESD.LOGFILES
The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on the procedureto many database users: CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2, v_mgrNUMBER, 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 DEPARTMENTS tableeven though they do not have the INSERT privilege on the table. You want only those users who haveprivileges on the DEPARTMENTS table to be able to execute the procedure successfully. What would yousuggest to the PL/SQL developers to achieve this()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 toselected users
In your multitenant container database (CDB) containing pluggable database (PDBs), the HR user executes the following commands to create and grant privileges on a procedure: CREATE OR REPLACE PROCEDURE create_test_v (v_emp_id NUMBER, v_ename VARCHAR2,v_SALARY NUMBER, v_dept_id NUMBER) BEGIN INSERT INTO hr.test VALUES (V_emp_id, V_ename, V_salary, V_dept_id); END; / GRANT EXECUTE ON CREATE_TEST TO john, jim, smith, king; How can you prevent users having the EXECUTE privilege on the CREATE_TEST procedure from inserting values into tables on which they do not have any privileges?()A、Create the CREATE_TEST procedure with definer’s rights.B、Grant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TEST procedure.C、Create the CREATE_TEST procedure with invoker’s rights.D、Create the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the package.
单选题在CREATE DATABASE语句中,使用()参数,可以为每个数据库指定联机重做日志文件的最大组数。AMAXFILESBMAXLOGFILECMAXLOGFILESDLOGFILES
单选题In your multitenant container database (CDB) containing pluggable database (PDBs), the HR user executes the following commands to create and grant privileges on a procedure: CREATE OR REPLACE PROCEDURE create_test_v (v_emp_id NUMBER, v_ename VARCHAR2,v_SALARY NUMBER, v_dept_id NUMBER) BEGIN INSERT INTO hr.test VALUES (V_emp_id, V_ename, V_salary, V_dept_id); END; / GRANT EXECUTE ON CREATE_TEST TO john, jim, smith, king; How can you prevent users having the EXECUTE privilege on the CREATE_TEST procedure from inserting values into tables on which they do not have any privileges?()ACreate the CREATE_TEST procedure with definer’s rights.BGrant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TEST procedure.CCreate the CREATE_TEST procedure with invoker’s rights.DCreate the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the package.
单选题创建角色可以()。A使用GRANT语句B使用REVOKE语句C使用ALTER语句D使用CREATE语句