Query to check progress of dbcc shrinkfile select s.session_id,command,t.text,percent_complete,s.start_time from sys.dm_exec_requests s CROSS APPLY sys.dm_exec_sql_text(s.sql_handle) t where command like '%Dbcc%'
Akshay Narang
AWS, Database, ETL, Integration, Data Reporting & Automation Expert