omacron
Technical User
- Feb 5, 2002
- 149
Hi am trying to change the status of a Suspect DB to Emergency but having an issue. This is MS SQL 2005 Express
When I run this script:
I get the following error:
Now I thought I could enable this by running this:
Although that doesn't make a difference.
Basically trying to either run check database commands or export the data into a new database.
Any help
When I run this script:
Code:
UPDATE master..sysdatabases
SET status = 32768
WHERE name = 'CNREMOTE5'
I get the following error:
Code:
Msg 259, Level 16, State 1, Line 1
Ad hoc updates to system catalogs are not allowed.
Now I thought I could enable this by running this:
Code:
EXECUTE sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE
GO
EXECUTE sp_configure 'Ad Hoc Distributed Queries', '1'
RECONFIGURE WITH OVERRIDE
GO
EXECUTE sp_configure 'show advanced options', 0
RECONFIGURE WITH OVERRIDE
Although that doesn't make a difference.
Basically trying to either run check database commands or export the data into a new database.
Any help