Skip to content

DBCC progress

March 16, 2017
tags:

SELECT
percent_complete,
start_time,
DATEADD(ms,estimated_completion_time,GETDATE()) AS EstimatedEndTime,
status,
command ,
total_elapsed_time AS elapsed_time_ms
FROM sys.dm_exec_requests
where command like ‘%DBCC%’

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: