单选题在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()A type array arr_type[emp.ename%type] index by binary_integer;B type table arr_type[emp.ename%type] index by binary_integer;C type arr_type is table of emp.ename%type index by binary_integer;D type arr

题目
单选题
在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()
A

type array arr_type[emp.ename%type] index by binary_integer;

B

type table arr_type[emp.ename%type] index by binary_integer;

C

type arr_type is table of emp.ename%type index by binary_integer;

D

type arr_type is pl_sql table of emp.ename%type index by binary_integer;


相似考题
更多“单选题在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()A type array arr_type[emp.ename%type] index by binary_integer;B type table arr_type[emp.ename%type] index by binary_integer;C type arr_type is table of emp.ename%type index by binary_integer;D type arr”相关问题
  • 第1题:

    下面定义PL/SQL记录的语法正确的是()。

    A.TYPE <记录类型名> IS RECORD

    B.TYPE <记录类型名> RECORD

    C.RECORD <记录类型名>

    D.TYPE RECORD <记录类型名>


    参考答案:A

  • 第2题:

    在网页编程中,某站点下有一个名为index.htm的页面和一个名为a.css的样式表文件(index.htm和a.css在同一个目录下),如果要在index.htm页面中应用a.css样式表文件中的样式表,则应在index.htm页面的标签中添加以下哪段代码()

    • A、<link type="text/css" rel="stylesheet" file="a.css"> 
    • B、<a type="text/css" rel="stylesheet" href="a.css"> 
    • C、<link type="text/css" rel="stylesheet" href="a.css"> 
    • D、<link type="text/css" rel="stylesheet" src="a.css">

    正确答案:C

  • 第3题:

    设有表M,将其中的Type列的数据类型改为NCHAR(4)。下列能实现该功能的语句是()。

    • A、ALTER  TABLE  M  ADD  COLUMN  Type  NCHAR(4)
    • B、ALTER  TABLE  M  ALTER  COLUMN  Type  NCHAR(4)
    • C、ALTER  TABLE  M  DROP  COLUMN  Type  NCHAR(4)
    • D、ALTER  TABLE  M  ALTER  Type  NCHAR(4)

    正确答案:B

  • 第4题:

    下面哪种类型定义隐藏域?()

    • A、type="hid"
    • B、type="text"
    • C、type="password"
    • D、type="hidden"
    • E、type="file"

    正确答案:D

  • 第5题:

    Which type of PL/SQL construct would you use to automatically correct the error resulting from a statement that was suspended due to a space-related problem?()

    • A、 functions
    • B、 package
    • C、 procedure
    • D、 database trigger
    • E、 anonymous PL/SQL block

    正确答案:D

  • 第6题:

    emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()

    • A、v_record emp%type;
    • B、v_record emp%recordtype;
    • C、v_record emp%record_type;
    • D、v_record emp%rowtype;
    • E、v_record emp%row_type;

    正确答案:D

  • 第7题:

    You observe that in your PROD database, customer information is being modified by some unauthorized users. You want to keep track of all of the transactions happening on the table using PL/SQL. Which type of PL/SQL subprogram or construct would you use to accomplish this task?()

    • A、functions
    • B、packages
    • C、procedures
    • D、database triggers
    • E、anonymous PL/SQL block

    正确答案:D

  • 第8题:

    单选题
    设有表M,将其中的Type列的数据类型改为NCHAR(4)。下列能实现该功能的语句是()。
    A

    ALTER  TABLE  M  ADD  COLUMN  Type  NCHAR(4)

    B

    ALTER  TABLE  M  ALTER  COLUMN  Type  NCHAR(4)

    C

    ALTER  TABLE  M  DROP  COLUMN  Type  NCHAR(4)

    D

    ALTER  TABLE  M  ALTER  Type  NCHAR(4)


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

  • 第9题:

    单选题
    假定已经定义了一个名为arr_type的PL/SQL表类型,那么怎样实例化一个arr_type类型的变量()
    A

    v_arr arr_type;

    B

    v_arr is arr_type;

    C

    v_arr of arr_type;

    D

    v_arr arr_type%type;


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

  • 第10题:

    单选题
    在表单的相关标记中,表示提供给用户一个可以复选的选项的标记为()
    A

    INPUT TYPE=CHECKBOX

    B

    INPUT TYPE=SUBMIT

    C

    INPUT TYPE=RESET

    D

    INPUT TYPE=TEXT


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

  • 第11题:

    单选题
    emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()
    A

    v_sal emp%rowtype;

    B

    v_sal emp.sal%type;

    C

    v_sal emp.sal.%type;

    D

    v_sal %type(emp.sal);

    E

    v_sal (emp.sal)%type;


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

  • 第12题:

    单选题
    假设ClassX是类类型标识符,Type为类型标识符,可以是基本类型或类类型,Type_Value为Type类型的表达式,那么,类型转换函数的形式为()
    A

    ClassX::operator Type(Type t){… return Type_Value;}

    B

    friendClassX::operator Type(){… return Type_Value;}

    C

    Type ClassX::operator Type(){…return Type_Value;}

    D

    ClassX::operator Type(){… return Type_Value;}


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

  • 第13题:

    设有表M,将其中的Type列的数据类型改为NCHAR(4)。下列能实现该功能的语句是()。

    AALTER  TABLE  M  ADD  COLUMN  Type  NCHAR(4)

    BALTER  TABLE  M  ALTER  COLUMN  Type  NCHAR(4)

    CALTER  TABLE  M  DROP  COLUMN  Type  NCHAR(4)

    DALTER  TABLE  M  ALTER  Type  NCHAR(4)


    B

  • 第14题:

    在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()

    • A、type array arr_type[emp.ename%type] index by binary_integer;
    • B、type table arr_type[emp.ename%type] index by binary_integer;
    • C、type arr_type is table of emp.ename%type index by binary_integer;
    • D、type arr_type is pl_sql table of emp.ename%type index by binary_integer;

    正确答案:C

  • 第15题:

    假设ClassX是类类型标识符,Type为类型标识符,可以是基本类型或类类型,Type_Value为Type类型的表达式,那么,类型转换函数的形式为()

    • A、ClassX::operator Type(Type t){… return Type_Value;}
    • B、friendClassX::operator Type(){… return Type_Value;}
    • C、Type ClassX::operator Type(){…return Type_Value;}
    • D、ClassX::operator Type(){… return Type_Value;}

    正确答案:D

  • 第16题:

    用下面哪一种类型定义可以声明隐藏域?()

    • A、type="hide"
    • B、type="text"
    • C、type="password"
    • D、type="hidden"
    • E、type="file"

    正确答案:D

  • 第17题:

    下面定义PL/SQL记录的语法正确的是()。

    • A、TYPE <记录类型名> IS RECORD
    • B、TYPE <记录类型名> RECORD
    • C、RECORD <记录类型名>
    • D、TYPE RECORD <记录类型名>

    正确答案:A

  • 第18题:

    You want to make use of the object features available in the database for the form module you are developing. Which three statements about object types are true? ()

    • A、An object type is a user-defined composite data type. 
    • B、The attributes of an object type can be those of other object types. 
    • C、A PL/SQL table of records is an example of a nested object type. 
    • D、An object type must be declared as a type before the actual object itself can be declared.

    正确答案:A,B,D

  • 第19题:

    假定已经定义了一个名为arr_type的PL/SQL表类型,那么怎样实例化一个arr_type类型的变量()

    • A、v_arr arr_type;
    • B、v_arr is arr_type;
    • C、v_arr of arr_type;
    • D、v_arr arr_type%type;

    正确答案:A

  • 第20题:

    单选题
    You observe that in your PROD database, customer information is being modified by some unauthorized users. You want to keep track of all of the transactions happening on the table using PL/SQL. Which type of PL/SQL subprogram or construct would you use to accomplish this task?()
    A

    functions

    B

    packages

    C

    procedures

    D

    database triggers

    E

    anonymous PL/SQL block


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

  • 第21题:

    多选题
    You want to make use of the object features available in the database for the form module you are developing. Which three statements about object types are true? ()
    A

    An object type is a user-defined composite data type.

    B

    The attributes of an object type can be those of other object types.

    C

    A PL/SQL table of records is an example of a nested object type.

    D

    An object type must be declared as a type before the actual object itself can be declared.


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

  • 第22题:

    单选题
    emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()
    A

    v_record emp%type;

    B

    v_record emp%recordtype;

    C

    v_record emp%record_type;

    D

    v_record emp%rowtype;

    E

    v_record emp%row_type;


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

  • 第23题:

    单选题
    Which type of PL/SQL construct would you use to automatically correct the error resulting from a statement that was suspended due to a space/x7frelated problem? ()
    A

    function

    B

    package

    C

    procedure

    D

    database trigger

    E

    anonymous PL/SQL block


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