omacron
Technical User
- Feb 5, 2002
- 149
Hi
I have a MS SQL MSDE database that came up in suspect mode. I am trying to get a backup copy but it will take some time. Meanwhile I want to try to fix it. Switch the database to Emergency Mode and ran;
It showed some errors in two tables. So switched the database to single user mode. Then ran this;
It gave me the following error;
I don't know how to get past this. Tried running this but didn't help;
Any help would be great.
I have a MS SQL MSDE database that came up in suspect mode. I am trying to get a backup copy but it will take some time. Meanwhile I want to try to fix it. Switch the database to Emergency Mode and ran;
Code:
DBCC checkdb('dbname')
It showed some errors in two tables. So switched the database to single user mode. Then ran this;
Code:
DBCC CheckDB ('dbname', REPAIR_ALLOW_DATA_LOSS)
It gave me the following error;
Code:
Msg 3908, Level 16, State 1, Line 1
Could not run BEGIN TRANSACTION in database 'SS1' because the database is in bypass recovery mode.
I don't know how to get past this. Tried running this but didn't help;
Code:
update sysdatabases
set status = status = 24
where name = 'dbname'
Any help would be great.