可学答题网 > 问答 > IBM(000-730)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Application A is designed to execute


Application A is designed to execute the following SQL statements within a single Unit of Work (UOW). UPDATE employee SET salary = salary * 1.1 WHERE empno='000010' UPDATE department SET deptname = 'NEW dept' WHERE deptno='A00'Application B is designed to execute the following SQL statements within a single Unit of Work (UOW). UPDATE department SET deptname = 'OLD DEPT' WHERE deptno='A00' UPDATE employee SET salary = salary * 0.5 WHERE empno='000010' Application A and application B execute their first SQL statement at the same time. When application A and application B try to execute their second SQL statement, a deadlock occurs. What will happen?()  

  • AThe database manager will rollback the transaction in both applications.
  • BThe database manager will rollback the transaction in one of the two applications.
  • CApplication B will successfully update the EMPLOYEE and DEPARTMENT tables; Application A will be placed in a lock wait state.
  • DApplication A will successfully update the EMPLOYEE and DEPARTMENT tables; Application B will terminate when the lock timeout value is reached.
参考答案
参考解析:
分类:IBM(000-730)题库
相关推荐

1、An inert gas system is designed to red

An inert gas system is designed to reduce the possibility of tank explosions by().Aeliminating sparks and fire in the vicinity of cargo tanks...

2、The camshaft drive is designed to main

The camshaft drive is designed to maintain proper camshaft speed relative to crankshaft speedIn maintaining this relationship, the camshaft drive...

3、Your tanker is designed to carry anhyd

Your tanker is designed to carry anhydrous ammonia in bulk.The keel was laid in 1980.Which statement concerning the carriage of this cargo is ...

4、A mechanical davit is designed to auto

A mechanical davit is designed to automatically().Aposition the boat at the embarkation stationBlift the boat off the inboard chocksCenergize the winch for the fallsDset the brake on the winch

5、The design of () is similar to that of

The design of () is similar to that of the main bearing.Athe block bearingBthe camshaft bearingCthe connecting rod small end bearingDthe connecting rod large end bearing

6、A thrust block is designed to().

A thrust block is designed to().Aabsorb the shock of wave pressure at the bowBbe placed between the engines and the foundation to absorb the...