Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

DBCC single user problems

$
0
0


Hi I have a database that when
--ALTER DATABASE ThisOne SET single_user WITH ROLLBACK IMMEDIATE
--go

--DBCC checkdb ('ThisOne ', repair_allow_data_loss)
--go

was run, terminated with:

DBCC results for 'MemberSubSubSubQualName'.
There are 19940 rows in 61 pages for object "MemberSubSubSubQualName".
CHECKDB found 0 allocation errors and 51 consistency errors in database 'ThisOnel'.
CHECKDB fixed 0 allocation errors and 51 consistency errors in database 'ThisOne'.
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
Msg 682, Level 22, State 146, Line 2
Internal error. Buffer provided to read column value is too small. Run DBCC CHECKDB to check for any corruption.
(the last two lines were repeated a dozen times)


then SSMS said - 'disconnected' at the bottom

I went to config manager and SQL was not running.
Rebooted the machine
SQL running but now in SSMS

The database is showing single user mode

and trying to run

ALTER DATABASE ThisOne  SET MULTI_USER

Msg 924, Level 14, State 1, Line 1
Database 'ThisOne' is already open and can only have one user at a time.


Personnal Blog: http://creamteadiet.blogspot.com/ WebSite http://www.ava.co.uk Agency Software: Staff bank

Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>