Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

suspect db 1

Status
Not open for further replies.

lyudmila

Programmer
Oct 18, 2002
54
US
Is this syntax does not work on SQL SERVER 2000 for suspect database. I used it couple times on older versions of SQL.
USE MASTER
GO
SP_CONFIGURE 'ALLOW UPDATES', 1
GO
RECONFIGURE
GO
update master..sysdatabases set status='256'
where name='MY DB'
SP_CONFIGURE 'ALLOW UPDATES', 0
GO
RECONFIGURE WITH OVERRIDE
GO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top