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?()
A. The database manager will rollback the transaction in both applications.
B. The database manager will rollback the transaction in one of the two applications.
C. Application B will successfully update the EMPLOYEE and DEPARTMENT tables; Application A will be placed in a lock wait state.
D. Application A will successfully update the EMPLOYEE and DEPARTMENT tables; Application B will terminate when the lock timeout value is reached.
查看答案
某装饰工程公司承接北京市某街道的一栋12层,全现浇混凝土结构的办公楼装饰工程,现安排某安全员负责该工地的消防安全管理,并做了如下工作: (1)施工现场设置了消防车道; (2)设置了室外消防给水系统、在建工程室内消防竖管和消防栓系统,并配备了足够的消防器材; (3)电焊工从事电气设备安装和气焊作业时均要求按有关规定进行操作; (4)因施工需要搭设了临时建筑,为了降低成本,就地取材,用木板搭设工人宿舍; (5)施工材料的存放、保管符合防火安全要求; (6)现场有明显的防火宣传标志,施工现场严禁吸烟; (7)使用明火按规定执行,专人看管,人走火灭; (8)该工程的消防安全管理工作比较到位,在施工全过程中,未发生一起火灾。 问题 施工工地是否要设消防车道?设置消防车道有什么要求?
强心苷对以下心功能不全疗效最好的是()。
A. 甲状腺功能亢进引起的心功能不全
B. 高度二尖瓣狭窄引起的心功能不全
C. 伴有心房扑动、颤动的心功能不全
D. 严重贫血引起的心功能不全
E. 缩窄性心包炎引起的心功能不全
抽样必须遵循的通则是真实可靠、随机抽样,而且要具有一定的数量。()
A. 正确
B. 错误
在钢筋混凝土结构设计规范中,对国产建筑用钢筋,按其产品种类不同分别给予不同的符号,供标注及识别之用。HRB用来表示()。
A. 碳素钢钢筋
B. 热轧带肋钢筋
C. 热轧光圆钢筋
D. 余热处理钢筋