题目内容

You manage a database named DB1, which is located on a SQL Server 2005 computer. You receive a warning that the drive on which the DB1 log file is located is near capacity.Although the transaction log is backed up every five minutes, you observe that it is steadily growing. You think that an uncommitted transaction might be the cause and you want to investigate. You need to identify both the server process ID and the start time of the oldest active transaction in DB1. What should you do?()

A. Connect to the DB1 database. Execute DBCC OPENTRAView the SPID and Starttime rows.
B. Connect to the master database. Execute DBCC OPENTRAView the SPID andStart time rows.
C. In SQL Server Management Studio,open the Activity Monitor. Select the Process Info page and apply the following filter settings, Database=DB1 Open Transactions=YesView the Process ID and Last Batch columns.
D. Open a query window. Connect to the master database.Execute the following statement.SELECT TOP 1 spid.last batch FROM sys.sysprocesses WHERE dbid = db id(’DB1’)AND open tran>0 ORDER BY last batch

查看答案
更多问题

震区宜采用抗地震性能较好的()电流互感器,系统短路电流较大的区域宜采用抗冲击性能较好的()电流互感器。

A. 正立式,正立式
B. 正立式,倒立式
C. 倒立式,倒立式
D. 倒立式,正立式

辩证法的基本思想?

破产费用包括()。

A. 破产财产的管理费用
B. 债权人会议费用
C. 破产案件的受理费用
D. 为债务人的利益而在破产程序中支付的费用

数字图像处理的目的是提高()和突出(),有利于()或作进一步的处理。

答案查题题库