Greetings. Last night my integrity check on a large DB was generating large sparce files, and the disk was almost out of room. I really wanted the job to finish so I attempted a shrinkfile on one of the DB files. The job suddenly blew up with the messge:
"Executed as user: ADMIN\login. Unspecified error occurred on SQL Server. Connection may have been terminated by the server. [SQLSTATE HY000] (Error 0) Database 'myDB' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information. [SQLSTATE HY000] (Error 926). The step failed."
However, I'm able to open the DB and look at data with no additional action -- didn't need to put it back online, etc. There's also no info in the errorlog . In hindsight (which is always 20/20), I should have just stopped the job, but I really wanted it to finish.
All said, my theory is that attempting to shrink the file while the job was running is what caused this. That the DB is really OK, and all is well.
Thoughts?
TIA, ChrisRDBA