I am running into an issue where whenever I run any type of statement against one of the tables in my DB I get the following error:
Msg 615, Level 21, State 1, Line 1
Could not find database ID 489, name '489'. The database may be offline. Wait a few minutes and try again.
I have run DBCC CHECKDB and CHECKTABLE, when I try to re-index it throws the above error. I tried to delete the table so I could recreate from backup but received the above error.