解释FUNCTION,PROCEDURE和PACKAGE区别

解释FUNCTION,PROCEDURE和PACKAGE区别


相关考题:

变量是一种局部量,变量可在以下哪些位置进行定义 A.process、architecture、entityB.process、function、procedureC.function、entity、packageD.entity、package、procedure

View the Exhibit for the object interdependency diagram.How does this impact the status of the dependent objects?() A. All dependent objects remain valid.B. Only the procedure and function become invalid and must be recompiled.C. Only the view becomes invalid and gets automatically revalidated the next time it is used.D. Only the procedure and function become invalid and get automatically revalidated the next time they are called.

Which of the following are types of routine objects?() A.Package and functionB.Function and userexitC.Procedure and packageD.Function and procedure

若将过程或函数放在单独的程序文件中,可以在应用程序中使用A.SET PROGRAM TOB.SET FUNCTION TOC.SET ROUTINE TOD.SET PROCEDURE TO

简述Sub和Function的区别。

下面函数首部或过程首部合法的是()A、 function  sumB、 procedure  nextC、 function  s(VAR s:real):integerD、 procedure  f(a,b:real):char

在VBScript中,Sub过程和Function过程的主要区别为()。A、Sub过程可以使用参数,而Function过程不能使用参数B、Sub过程不能使用参数,而Function过程能使用参数C、Sub过程不返回任何值,而Function过程有返回值D、Function过程不返回任何值,而Sub过程有返回值

Which are SRW package procedure or function could you use to create and then drop a temporary table in the sales report?()A、SRW.BREAK B、SRW.SET_ALTER C、SRW.REFERENCE D、SRW.DO_SQL E、SRW.RUN_REPORTF、SRW.SET_FIELD

Which DBMS_RESOURCE_MANAGER procedure prioritizes consumer-group mappings?()  A、 CREATE_MAPPING_PRIORITYB、 SET_MAPPING_PRIORITYC、 SET_MAPPING_ORDERD、 PRIORITIZE_MAPPING_ORDERE、 This functionality is not available through the DBMS_RESOURCE_MANAGER package.

Sub子程序和Function函数的区别在于:()

在Visual FoxPro中,用于调用模块程序的命令是()。A、FUNCTION<过程名>B、DO<文件名>WITH<实参表>C、PROCEDURE<过程名>D、SET PROCEDURE TO<过程文件>

简述SUB过程与FUNction过程区别

Which of the following are types of routine objects?()A、Package and functionB、Function and userexitC、Procedure and packageD、Function and procedure

Given an EL function declared with:11.  12.spin 13.com.example.Spinner 14. 15.java.lang.String spinIt() 16. 17. Which two are true?()A、The function method must have the signature: public String spin().B、The method must be mapped to the logical name "spin" in the web.xml file.C、The function method must have the signature: public String spinIt().D、The function method must have the signature public static String spin().E、The function method must have the signature: public static String spinIt().F、The function class must be named Spinner, and must be in the package com.example.

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.

Oracle9i provides a database package called dbms_redefinition to perform an online rebuild of a table.  Which two steps are you recommended to do prior to issuing thedbms_redefinition_start_redef table procedure call?()A、Grand privileges on the interim table.B、Invoke the dbms_redefinition.can_redef_table procedure.C、Invoke the dbms_redefinition.sync_interim_table procedure.D、Create any triggers, indexes, or constraints on the interim table.E、Create an empty interim table with all the desired characteristics.

You use Microsoft Application Virtualization for Desktops to virtualize applications for client computers.A virtual application that was installed by using a Windows Installer Package (.msi) file has become corrupted. You need to restore access to the virtual application. Which two actions should you perform?()A、Reload the virtual application package.B、Reinstall the virtual application package.C、Use the Repair function in the Windows Installer Package. Use the Microsoft Application Virtualization (App-V) to re-sequence the application.D、Use the Microsoft Application Virtualization (App-V) Sequencer to edit the virtual application package.

多选题Given an EL function declared with:11.  12.spin 13.com.example.Spinner 14. 15.java.lang.String spinIt() 16. 17. Which two are true?()AThe function method must have the signature: public String spin().BThe method must be mapped to the logical name spin in the web.xml file.CThe function method must have the signature: public String spinIt().DThe function method must have the signature public static String spin().EThe function method must have the signature: public static String spinIt().FThe function class must be named Spinner, and must be in the package com.example.

名词解释题简述SUB过程与FUNction过程区别

问答题简述Sub和Function的区别。

单选题Which DBMS_RESOURCE_MANAGER procedure prioritizes consumer-group mappings?()A CREATE_MAPPING_PRIORITYB SET_MAPPING_PRIORITYC SET_MAPPING_ORDERD PRIORITIZE_MAPPING_ORDERE This functionality is not available through the DBMS_RESOURCE_MANAGER package.

单选题Which are SRW package procedure or function could you use to create and then drop a temporary table in the sales report?()ASRW.BREAK BSRW.SET_ALTER CSRW.REFERENCE DSRW.DO_SQL ESRW.RUN_REPORTFSRW.SET_FIELD

名词解释题包装 package/packaging

单选题下面函数首部或过程首部合法的是()A function  sumB procedure  nextC function  s(VAR s:real):integerD procedure  f(a,b:real):char

名词解释题销售包装 sales package

名词解释题包装(package)