User A executes the following command to update the TRANS ta

题目
单选题
User A executes the following command to update the TRANS table)  SQL> UPDATE B.trans SET tr_amt=tr_amt+500 WHERE c_code=’C005’;  Before user A issues a COMMIT or ROLLBACK command, user B executes the following command on the TRANS table:   SQl> ALTER TABLE trans MODIFY (tr_type VARCHAR2 (3));  What would happen in this scenario?()
A

The transaction for user A is rolled back.

B

The ALTER TABLE command modifies the column successfully.

C

The ALTER TABLE command fails due to the resource being busy.

D

The ALTER TABLE command waits until user A ends the transaction.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

The user SYS creates a job by using the following command:Which two statements are true about the job that was created by the preceding command? ()(Choose two.)

A. The job is enabled by default after creation

B. The job is automatically dropped after the end date

C. The job executes with the privileges of the user SYS

D. The globalization environment that exists at the time of the job creation prevails at the job runs


参考答案:B, C

第2题:

A user utilizing an alias to update a subset of columns in a table must have UPDATE privileges on which of the following DB2 objects?()

A.Table

B.Columns

C.Table and Alias

D.Columns and Alias


参考答案:A

第3题:

The user SYS creates a job by using the following command:Which two statements are true about the job that was created by the preceding command?()

A. The job is enabled by default after creation

B. The job is automatically dropped after the end date

C. The job executes with the privileges of the user SYS

D.


参考答案:B, C

第4题:

A user utilizing an alias to update a subset of columns in a table must have UPDATE privileges on which of the following DB2 objects?()

  • A、Table
  • B、Columns
  • C、Table and Alias
  • D、Columns and Alias

正确答案:A

第5题:

Given this fragment in a servlet: 23.if(req.isUserInRole("Admin")) { 24.// do stuff 25.} And the following fragment from the related Java EE deployment descriptor: 812. 813.Admin 814.Administrator 815. 900. 901.Admin 902.Administrator 903. What is the result?()

  • A、Line 24 can never be reached.
  • B、The deployment descriptor is NOT valid.
  • C、If line 24 executes, the user’s role will be Admin.
  • D、If line 24 executes, the user’s role will be Administrator.
  • E、If line 24 executes the user’s role will NOT be predictable.

正确答案:D

第6题:

Which of the following should an administrator do after running a command from the console onthe perimeter router?()

A. Update the configuration logs

B. Update the network wiring schematics

C. Update the network configuration procedures

D. Compare the configuration with the baseline


参考答案:A

第7题:

Which of the following privileges permits a user to update the comment on a sequence?()

A.CONTROL

B.UPDATE

C.USAGE

D.ALTER


参考答案:D

第8题:

View the Exhibit for some of the current parameter settings. A user logs in to the HR schema and issues the following commands:SQL> CREATE TABLE emp(empno NUMBER(3),ename VARCHAR2(20),sal NUMBER(8,2));SQL> INSERT INTO emp(empno,ename) VALUES(1,‘JAMES‘);At this moment, a second user also logs in to the HR schema and issues the following command:SQL> ALTER TABLE emp MODIFY sal NUMBER(10,2);What happens in the above scenario?()

A. The second user‘s session immediately produces the resource busy error.

B. The second user‘s command executes successfully.

C. The second user‘s session waits for a time period before producing the resource busy error.

D. A deadlock is created.


参考答案:C

第9题:

Which of the following should an administrator do after running a command from the console onthe perimeter router?()

  • A、Update the configuration logs
  • B、Update the network wiring schematics
  • C、Update the network configuration procedures
  • D、Compare the configuration with the baseline

正确答案:A

第10题:

A sequence was created with the DDL statement shown below:CREATE SEQUENCE my_seq START WITH 5 INCREMENT BY 5 CACHE 5 User1 successfully executes the following statements in Connection1: VALUES NEXT VALUE FOR my_seq INTO :con1hvar VALUES NEXT VALUE FOR my_seq INTO :con1hvar User2 successfully executes the following statement in Connection2: VALUES NEXT VALUE FOR my_seq INTO :con2hvar After User1 & User2 are finished, User3 executes the following statement in Connection3: SELECT NEXT VALUE FOR my_seq FROM sysibm.sysdummy1Which value will be returned by the query?()

  • A、20
  • B、25
  • C、50
  • D、55

正确答案:D

更多相关问题