The opening of cursor CSR01 produces the following result set: STUDENT LASTNM FIRSTNM CLASSNO 123 Brown John T100 213 Bailey James T100 312 Carter Arlene T210 465 Chas Devon T305 546 Davis Steven T405 If this Fetch statement is executed: FETCH csr01 INTO

题目

The opening of cursor CSR01 produces the following result set: STUDENT LASTNM FIRSTNM CLASSNO 123 Brown John T100 213 Bailey James T100 312 Carter Arlene T210 465 Chas Devon T305 546 Davis Steven T405 If this Fetch statement is executed: FETCH csr01 INTO :studnum, :firstname, :lastname, :class Which of the following DELETE statements will cause this row to be deleted?()

  • A、DELETE ALL FROM tab01 FOR CURRENT OF csr01
  • B、DELETE FROM tab01 FOR CURRENT csr01 WITH RS
  • C、DELETE * FROM tab01 WHERE CURRENT csr01 WITH CS
  • D、DELETE FROM tab01 WHERE CURRENT OF csr01 WITH RR

相似考题
参考答案和解析
正确答案:D
更多“The opening of cursor CSR01 pro”相关问题
  • 第1题:

    肾病四联型尿试带包括的测试项目为 ( )

    A、PRO、ERY、WBC、SG

    B、PRO、WBC、ERY、SG

    C、PH、PRO、FRY、WBC

    D、pH、PRO、WBC、SG

    E、pH、PRO、ERY、SG


    参考答案:E

  • 第2题:

    查询“教师表”的全部记录并存储于临时文件one.dbf中的SQL命令是

    A.SELECT*FROM教师表INTO CURSOR one

    B.SELECT*FROM教师表TO CURSOR 0ne

    C.SELECT*FROM教师表INTO CURSOR DBF one

    D.SELECT*FROM教师表TO CURSOR DBF one


    正确答案:A
    解析:存储时,临时表的关键字是“INTOcuRSClR文件名”。

  • 第3题:

    查询学生表S的全部记录并存储于临时表文件one中的SQL命令是( )。

    A.SELECT*FROM学生表INTO CURSOR one

    B.SELECT*FROM学生表To CURSoR one

    C.SELECT*FROM学生表INTO CURSOR DBF one

    D.SELECT*FROM学生表TO CURSOR DBF one


    正确答案:A
    A。【解析】使用短语INTOCURSORCursorName可以将查询结果存放到临时数据库文件中,其中CursorName是临时文件名,该短语产生的临时文件是一个只读的.dbf文件,当查询结束后该临时文件是当前文件,可以像一般的.dbf文件一样使用,当关闭文件时该文件将自动删除。

  • 第4题:

    查询“成绩”表的所有记录并存储于数组arrl中的SQL语句是( )。

    A)SELECT﹡FROM成绩INTO ARRAY arrl

    B)SELECT﹡FROM成绩TO CURSOR arrl

    C)SELECT﹡FROM成绩TO ARRAY arrl

    D)SELECT﹡FROM成绩INTO CURSOR arrl


    正确答案:A
    在SQL语句中,使用短语INTO ARRAY ArrayName可以将查询结果存放到数组中,ArrayName可以是任意的数组变量名。

  • 第5题:

    ______ is on the panel of DF.

    A.ZERO CLEARING

    B.ANTI-CLUTTER-RAIN

    C.DIMMER

    D.CURSOR


    正确答案:A

  • 第6题:

    在Oracle中,PL/SQL块中定义了一个带参数的游标:CURSOR emp_cursor(dnum NUMBER)IS SELECT sal,comm FROM emp WHERE deptno = dnum;那么正确打开此游标的语句是()

    • A、OPEN emp_cursor
    • B、OPEN emp_cursor FOR 20
    • C、OPEN emp_cursor USING 20
    • D、FOR emp_rec IN emp_cursor(20) LOOP … END LOOP

    正确答案:D

  • 第7题:

    Using Job Scheduling Console, how can the external successor chain  be viewed when a job needs to be canceled?()

    • A、 using the Hyperbolic Viewer
    • B、 opening the Impact view and displaying the successors
    • C、 opening the Job Stream Instance editor for its Job Stream Instance
    • D、 opening the Dependencies window and drilling down to the successors

    正确答案:B

  • 第8题:

    Oracle9i extends the cursor sharing functionality with the new value of SIMILAR for the CURSOR_SHARING parameter. With CURSOR_SHARING = SIMILAR, cursors are shared for safe literals only. What is meant by ‘safe literals only’?() 

    • A、No literal value is substituted for a shared cursor. 
    • B、Different execution plans are generated for substituted literal values. 
    • C、The substitution of a literal value will produce different execution plans. 
    • D、The substitution of any literal value will produce exactly the same execution plan.

    正确答案:D

  • 第9题:

    单选题
    Using Job Scheduling Console, how can the external successor chain  be viewed when a job needs to be canceled?()
    A

     using the Hyperbolic Viewer

    B

     opening the Impact view and displaying the successors

    C

     opening the Job Stream Instance editor for its Job Stream Instance

    D

     opening the Dependencies window and drilling down to the successors


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

  • 第10题:

    单选题
    Oracle9i extends the cursor sharing functionality with the new value of SIMILAR for the CURSOR_SHARING parameter. With CURSOR_SHARING = SIMILAR, cursors are shared for safe literals only. What is meant by ‘safe literals only’?()
    A

    No literal value is substituted for a shared cursor. 

    B

    Different execution plans are generated for substituted literal values. 

    C

    The substitution of a literal value will produce different execution plans. 

    D

    The substitution of any literal value will produce exactly the same execution plan.


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

  • 第11题:

    单选题
    On the day of the opening of your restaurant, you are advised to ______.
    A

    show customers around the building.

    B

    invite some important persons.

    C

    offer some special discounts.

    D

    make an opening speech.


    正确答案: C
    解析:
    根据原文最后一段中的“Consider having some special discounts and door prizes on the day of the grand opening.”可知,在餐厅开业的那天可以考虑提供一些特别折扣或者入场奖品等。因此C项正确。

  • 第12题:

    单选题
    关于HI-PRO和USBHI-PRO的异同正确的是()。
    A

    HI-PRO有电源电压选择,而USBHI-PRO没有电源电压的选择;

    B

    USBHI-PRO的背面和HI-PRO的背面设置一样;

    C

    USBHI-PRO与HI-PRO的体积一样;

    D

    USBHI-PRO和HI-PRO均有九针接口;

    E

    USBHI-PRO没有Power灯,而HI-PRO有。


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

  • 第13题:

    查询“读者”表的所有记录并存储于临时表文件one中的SQL语句是( )。

    A.SELECT*FROM读者INTO CURSOR one

    B.SELECT*FROM读者To CURSOR one

    C.SELECT*FROM读者INTO CURSOR DBF one

    D.SELECT*FROM读者To CURSoR DBF one


    正确答案:A
    A。【解析】将查询结果存放在临时文件中应使用短语INTOCURSORCursorName语句,其中CursorName是临时文件名,该语句将产生的临时文件是一个只读的.dbf文件,当查询结束后该临时文件是当前文件。

  • 第14题:

    The opening of cursor CSR01 produces the following result set:STUDENT LASTNM FIRSTNM CLASSNO 123 Brown John T100 213 Bailey JamesT100 312 Carter Arlene T210 465 Chas Devon T305 546 Davis Steven T405If this Fetch statement is executed: FETCH csr01 INTO :studnum, :firstname, :lastname, :class Which of the following DELETE statements will cause this row to be deleted?()

    A.DELETE ALL FROM tab01 FOR CURRENT OF csr01

    B.DELETE FROM tab01 FOR CURRENT csr01 WITH RS

    C.DELETE * FROM tab01 WHERE CURRENT csr01 WITH CS

    D.DELETE FROM tab01 WHERE CURRENT OF csr01 WITH RR


    参考答案:D

  • 第15题:

    ( 31 )查询 “ 教师表 ” 的全部记录并存储于 临 时文件 one.dbf 中的 SQL 命令是

    A ) SELECT * FROM 教师表 INTO CURSOR one

    B ) SELECT * FROM 教师表 TO CURSOR one

    C ) SELECT * FROM 教师表 INTO CURSOR DBF one

    D) SELECT * FROM 教师表 TO CURSOR DBF one


    正确答案:A

  • 第16题:

    The nozzle of a gasoline hose or can should be kept ______.

    A.In contact with the fill opening to guard against static spark

    B.From making contact with the fill opening to guard against static spark

    C.In contact with the fill opening to allow proper venting

    D.None of the above


    正确答案:A

  • 第17题:

    关于HI-PRO和USBHI-PRO的异同正确的是()。

    • A、HI-PRO有电源电压选择,而USBHI-PRO没有电源电压的选择;
    • B、USBHI-PRO的背面和HI-PRO的背面设置一样;
    • C、USBHI-PRO与HI-PRO的体积一样;
    • D、USBHI-PRO和HI-PRO均有九针接口;
    • E、USBHI-PRO没有Power灯,而HI-PRO有。

    正确答案:A

  • 第18题:

    Which of the following best describes the lock protection provided by DB2 for the current row of a cursor?()

    • A、The cursor is only protected from updates and deletes by concurrent applications.
    • B、The row is only protected from positioned updates and deletes that reference another cursor of the same application.
    • C、The cursor is protected from positioned updates and deletes that reference another cursor of a different application.
    • D、The row is protected from updates and deletes by the current application and from positioned updates and deletes that reference another cursor of the same application.

    正确答案:A

  • 第19题:

    按(),光标逐字反方向放移动,在字下面现实光标。

    • A、CURSOR↑
    • B、CURSOR↓
    • C、PAGE↓
    • D、PAGE↓

    正确答案:A

  • 第20题:

    下面一组文件中,不能在Windows环境下运行的文件是()。

    • A、PRO.COM
    • B、PRO.BAK
    • C、PRO.BAT
    • D、PRO.SYS

    正确答案:A,B,C,D

  • 第21题:

    单选题
    Which of the following best describes the lock protection provided by DB2 for the current row of a cursor?()
    A

    The cursor is only protected from updates and deletes by concurrent applications.

    B

    The row is only protected from positioned updates and deletes that reference another cursor of the same application.

    C

    The cursor is protected from positioned updates and deletes that reference another cursor of a different application.

    D

    The row is protected from updates and deletes by the current application and from positioned updates and deletes that reference another cursor of the same application.


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

  • 第22题:

    单选题
    How can you change the cursor style in your form? ()
    A

    Open the form module property palette and set the Cursor Style property. 

    B

    From the Tools menu, select Preferences-->Runtime Settings. 

    C

    Use the GET_APPLICATION_PROPERTY and SET_APPLICATION_PROPERTY built-ins. 

    D

    You cannot change the cursor style.


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

  • 第23题:

    单选题
    The nozzle of a gasoline hose or can should be kept().
    A

    in contact with the fill opening to guard against static spark

    B

    from making contact with the fill opening to guard against static spark

    C

    in contact with the fill opening to allow proper venting

    D

    None of the above


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