niusouti.com
参考答案和解析
正确答案:
 
更多“解释FUNCTION,PROCEDURE和PACKAGE区别”相关问题
  • 第1题:

    简述Sub和Function的区别。
    Sub过程通常称为子过程,没有返回值。而Function过程称为函数,具有函数返回值。

  • 第2题:

    在VBScript中,Sub过程和Function过程的主要区别为()。

    • A、Sub过程可以使用参数,而Function过程不能使用参数
    • B、Sub过程不能使用参数,而Function过程能使用参数
    • C、Sub过程不返回任何值,而Function过程有返回值
    • D、Function过程不返回任何值,而Sub过程有返回值

    正确答案:C

  • 第3题:

    Which DBMS_RESOURCE_MANAGER procedure prioritizes consumer-group mappings?()  

    • A、 CREATE_MAPPING_PRIORITY
    • B、 SET_MAPPING_PRIORITY
    • C、 SET_MAPPING_ORDER
    • D、 PRIORITIZE_MAPPING_ORDER
    • E、 This functionality is not available through the DBMS_RESOURCE_MANAGER package.

    正确答案:B

  • 第4题:

    在Visual FoxPro中,用于调用模块程序的命令是()。

    • A、FUNCTION<过程名>
    • B、DO<文件名>WITH<实参表>         
    • C、PROCEDURE<过程名>
    • D、SET PROCEDURE TO<过程文件>

    正确答案:B

  • 第5题:

    Which of the following are types of routine objects?()

    • A、Package and function
    • B、Function and userexit
    • C、Procedure and package
    • D、Function and procedure

    正确答案:D

  • 第6题:

    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

    正确答案:B

  • 第7题:

    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.

    正确答案:B,E

  • 第8题:

    多选题
    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.


    正确答案: B,F
    解析: 暂无解析

  • 第9题:

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

    正确答案: Sub过程通常称为子过程,没有返回值。而Function过程称为函数,具有函数返回值。
    解析: 暂无解析

  • 第10题:

    单选题
    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_REPORT

    F

    SRW.SET_FIELD


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    下面函数首部或过程首部合法的是()
    A

     function  sum

    B

     procedure  next

    C

     function  s(VAR s:real):integer

    D

     procedure  f(a,b:real):char


    正确答案: C
    解析: 暂无解析

  • 第12题:

    名词解释题
    包装(package)

    正确答案: 包装是指在流通过程中保护产品,方便储运,促进销售,按一定技术方法而采用的容器、材料及辅助物等的总称,也指为了达到上述目的而采用容器、材料和辅助物的过程中施加一定技术方法的操作活动。
    解析: 暂无解析

  • 第13题:

    下面函数首部或过程首部合法的是()

    • A、 function  sum
    • B、 procedure  next
    • C、 function  s(VAR s:real):integer
    • D、 procedure  f(a,b:real):char

    正确答案:B

  • 第14题:

    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_REPORT
    • F、SRW.SET_FIELD

    正确答案:D

  • 第15题:

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


    正确答案:sub无返回值,function有返回值

  • 第16题:

    简述SUB过程与FUNction过程区别


    正确答案: 两者的区别在于前者没有返回值,而后者有返回值。

  • 第17题:

    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.

    正确答案:E,F

  • 第18题:

    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.

    正确答案:C

  • 第19题:

    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.

    正确答案:B,C

  • 第20题:

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

    正确答案: 两者的区别在于前者没有返回值,而后者有返回值。
    解析: 暂无解析

  • 第21题:

    单选题
    Which DBMS_RESOURCE_MANAGER procedure prioritizes consumer-group mappings?()
    A

     CREATE_MAPPING_PRIORITY

    B

     SET_MAPPING_PRIORITY

    C

     SET_MAPPING_ORDER

    D

     PRIORITIZE_MAPPING_ORDER

    E

     This functionality is not available through the DBMS_RESOURCE_MANAGER package.


    正确答案: D
    解析: 暂无解析

  • 第22题:

    名词解释题
    包装 package/packaging

    正确答案: 为在流通过程中保护产品、方便储运、促进销售,按一定技术方面而采用的容器、材料及辅助物等的总体名称。也指为了达到上述目的而采用容器、材料和辅助物的过程中施加一定技术方法等的操作活动。
    解析: 暂无解析

  • 第23题:

    名词解释题
    销售包装 sales package

    正确答案: 又称内包装,是直接接触商品进入零售网点和消费者或用户直接见面的包装。
    解析: 暂无解析