I am getting following errro when executing:
DBCC REBUILD_LOG('dbname,'dbname_Log.LDF')
ERROR:
Server: Msg 5030, Level 16, State 1, Line 1
The database could not be exclusively locked to perform the operation.
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
anyone have any idea why i am getting this locked error and how to resolve it.
my db got stuck now. can't do repeat the process either.
any answer greatly appreciate.