单选题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?()ADELETE ALL FROM tab01 FOR CURRENT OF csr01BDELETE FROM tab01 FOR CURRENT csr01 WITH RSCDELETE * FROM tab01 WHERE CURRENT csr01 WITH CSDDELETE FROM tab01 WHERE CURRENT OF csr01 WITH RR

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


参考解析

解析: 暂无解析

相关考题:

关于mysql_fetch_object说法中,正确的是:()。 A.mysql_fetch_object和mysql_fetch_array一样,没什么区别B.mysql_fetch_object返回值是个对象,所以在速度上比mysql_fetch_array要慢C.mysql_fetch_object返回值是个数组,所以在速度上和mysql_fetch_array及mysql_fetch_row差不多D.mysql_fetch_object返回值是个对象,在速度上和mysql_fetch_array及mysql_fetch_row差不多

Which of the following will begin a new unit of work?() A.The CONNECT statementB.The first FETCH of a cursorC.The BEGIN TRANSACTION statementD.The first executable SQL statement

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 csr01B.DELETE FROM tab01 FOR CURRENT csr01 WITH RSC.DELETE * FROM tab01 WHERE CURRENT csr01 WITH CSD.DELETE FROM tab01 WHERE CURRENT OF csr01 WITH RR

下列关于SQL Server 2008游标中@@FETCH_STATUS的说法,正确的是( )。 A.每当对游标执行一次FETCH语句,系统都会自动对@@FETCH_STATUS赋一次值B.用户可以对@@FETCH_STATUS变量进行赋值C.用户可以在游标中声明@@FETCH_STATUS变量D.每个游标都有一个专属于自己的@@FETCH_STATUS变量

123,132,213,231,312,()A.213B.321C.123D.231

123,132,213,231,312,( ) A. 213B. 321C. 123D. 231

设有Teachers表,该表的定义如下:  CREATE TABLE Teachers(  Tno  CHAR(8)  PRIMARY  KEY,  Tname  VARCHAR(10)  NOT NULL,  Age  TINYINT  CHECK(Age BETWEEN 25 AND 65)  )  下列插入语句中,不能正确执行的是()。AINSERT INTO Teachers VALUES(’T100’,’张宏’,NULL)BINSERT INTO Teachers(Tno,Tname,Age) VALUES(’T100’,’张宏’,30)CINSERT INTO Teachers(Tno,Tname) VALUES(’T100’,’张宏’)DINSERT INTO Teachers VALUES(’T100’,’张宏’)

关于HQL的连接查询,说法错误的是()。A、inner join 或 join用于内连接B、inner join fetch或 join fetch用于迫切内连接C、left outer join fetch 或 left join fetch用于迫切左外连接D、right outer join fetch 或 right join fetch用于迫切右外连接

取得查询语句的结果集中的记录函数有()A、mysql_fetch_rowB、mysql_fetch_assocC、mysql_num_rowsD、mysql_fetch_arrayE、mysql_fetch_object

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 csr01B、DELETE FROM tab01 FOR CURRENT csr01 WITH RSC、DELETE * FROM tab01 WHERE CURRENT csr01 WITH CSD、DELETE FROM tab01 WHERE CURRENT OF csr01 WITH RR

Which of the following will begin a new unit of work?()A、The CONNECT statementB、The first FETCH of a cursorC、The BEGIN TRANSACTION statementD、The first executable SQL statement

Your Oracle10g database contains a table with a TIMESTAMP TO LOCAL TIME ZONE column. There are about two hundred column values for the column. You issued the following statement:   SQL ALTER DATABASE SET TIME_ZONE =’Europe/London’;   What will be the result of issuing the above statement?()A、 The statement will be executed successfully, and a new time zone will be set for the database.B、 The statement will be executed successfully, but a new time zone will not be set for the database.C、 The statement will not be executed successfully because the SET TIME_ZONE clause can be used only with the ALTER SESSION statement.D、 The statement will not be executed successfully because the ALTER DATABASE SET TIME_ZONE statement is used only when the database contains no table with the TIMESTAMP TO LOCAL TIME ZONE column.

You created the ORDERS table in your database by using the following code:   SQL CREATE TABLE ORDERS (ORDER_DATE TIMESTAMP(0) WITH TIME ZONE);   Then, you inserted data in the ORDERS table and saved it by issuing the following statements:SQL INSERT INTO ORDERS VALUES(’18-AUG-00 10:26:44 PM America/New_York’);   SQL INSERT INTO ORDERS VALUES(’23-AUG-02 12:46:34 PM America/New_York’);   SQL COMMIT;   Next, you issued the following statement to change the time zone for the database:   SQL ALTER DATABASE SET TIME_ZONE=’Europe/London’;   What will be the result of executing the above statement?()  A、 The statement will fail.B、 The statement will be executed successfully, and the new time zone will be set for the database.C、 The statement will be executed successfully, but the new time zone will be set for the current session.D、The statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.

A user issues a SELECT command against the Oracle database. Which of the following choices describes a step that Oracle will execute in support of this statement?()A、Acquire locks on table queried B、Generate redo for statement C、Fetch data from disk into memory D、Write changes to disk

简述mysql_fetch_row()和mysql_fetch_array之间有什么区别?

多选题取得查询语句的结果集中的记录函数有()Amysql_fetch_rowBmysql_fetch_assocCmysql_num_rowsDmysql_fetch_arrayEmysql_fetch_object

单选题Your Oracle10g database contains a table with a TIMESTAMP TO LOCAL TIME ZONE column. There are about two hundred column values for the column. You issued the following statement:   SQL ALTER DATABASE SET TIME_ZONE =’Europe/London’;   What will be the result of issuing the above statement?()A The statement will be executed successfully, and a new time zone will be set for the database.B The statement will be executed successfully, but a new time zone will not be set for the database.C The statement will not be executed successfully because the SET TIME_ZONE clause can be used only with the ALTER SESSION statement.D The statement will not be executed successfully because the ALTER DATABASE SET TIME_ZONE statement is used only when the database contains no table with the TIMESTAMP TO LOCAL TIME ZONE column.

单选题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?()ADELETE ALL FROM tab01 FOR CURRENT OF csr01BDELETE FROM tab01 FOR CURRENT csr01 WITH RSCDELETE * FROM tab01 WHERE CURRENT csr01 WITH CSDDELETE FROM tab01 WHERE CURRENT OF csr01 WITH RR

单选题设有Teachers表,该表的定义如下:  CREATE TABLE Teachers(  Tno  CHAR(8)  PRIMARY  KEY,  Tname  VARCHAR(10)  NOT NULL,  Age  TINYINT  CHECK(Age BETWEEN 25 AND 65)  )  下列插入语句中,不能正确执行的是()。AINSERT INTO Teachers VALUES(’T100’,’张宏’,NULL)BINSERT INTO Teachers(Tno,Tname,Age) VALUES(’T100’,’张宏’,30)CINSERT INTO Teachers(Tno,Tname) VALUES(’T100’,’张宏’)DINSERT INTO Teachers VALUES(’T100’,’张宏’)

单选题关于HQL的连接查询,说法错误的是()。Ainner join 或 join用于内连接Binner join fetch或 join fetch用于迫切内连接Cleft outer join fetch 或 left join fetch用于迫切左外连接Dright outer join fetch 或 right join fetch用于迫切右外连接

单选题取得搜索语句的结果集中的记录总数的函数是:()Amysql_fetch_rowBmysql_rowidCmysql_num_rowsDmysql_fetch_array

单选题Which of the following will begin a new unit of work?()AThe CONNECT statementBThe first FETCH of a cursorCThe BEGIN TRANSACTION statementDThe first executable SQL statement

问答题简述mysql_fetch_row()和mysql_fetch_array之间有什么区别?

单选题You created the ORDERS table in your database by using the following code:   SQL CREATE TABLE ORDERS (ORDER_DATE TIMESTAMP(0) WITH TIME ZONE);   Then, you inserted data in the ORDERS table and saved it by issuing the following statements:SQL INSERT INTO ORDERS VALUES(’18-AUG-00 10:26:44 PM America/New_York’);   SQL INSERT INTO ORDERS VALUES(’23-AUG-02 12:46:34 PM America/New_York’);   SQL COMMIT;   Next, you issued the following statement to change the time zone for the database:   SQL ALTER DATABASE SET TIME_ZONE=’Europe/London’;   What will be the result of executing the above statement?()A The statement will fail.B The statement will be executed successfully, and the new time zone will be set for the database.C The statement will be executed successfully, but the new time zone will be set for the current session.DThe statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.

单选题关于mysql_fetch_object说法中,正确的是:()。Amysql_fetch_object和mysql_fetch_array一样,没什么区别Bmysql_fetch_object返回值是个对象,所以在速度上比mysql_fetch_array要慢Cmysql_fetch_object返回值是个数组,所以在速度上和mysql_fetch_array及mysql_fetch_row差不多Dmysql_fetch_object返回值是个对象,在速度上和mysql_fetch_array及mysql_fetch_row差不多

单选题To make audit information more productive, the DBA executes the following command before starting an auditoperation: SQL ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE; Which statement is true regarding the audit record generated when auditing starts after restarting Thedatabase()AIt contains only the plan for the SQL statement executed by the user.BIt contains the SQL text executed by the user and the bind variables used with it.CIt contains the plan and statistics associated with the SQL statement executed by the user.DIt contains the plan for the SQL statement executed by the user and the bind variables used with it

单选题To make audit information more productive, the DBA executes the following command before startingan audit operation:  SQL ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE;  Which statement is true regarding the audit record generated when auditing starts after restarting thedatabase()AIt contains only the plan for the SQL statement executed by the user.BIt contains the SQL text executed by the user and the bind variables used with it.CIt contains the plan and statistics associated with the SQL statement executed by the user.DIt contains the plan for the SQL statement executed by the user and the bind variables used with it.