SELECT DB_NAME(er.[database_id]) [DatabaseName],er.[session_id] AS [SessionID],er.[command] AS [CommandType] ,est., ), er.[percent_complete]) AS [Complete_Percent], , ), er., ), er.[estimated_completion_time] / 60000.00) AS [EstimatedCompletionTime_…