Viggee
asked on
Recreating MSDB Database
I have accidentally deleted the sysobjects table in the MSDB Database..
Now the entire database is not accessible..
when i executed sp_databases, i get the error
Invalid object name : MSDB.dbo.Sysfiles
is there any way to create the MSDB again without re-installing the SQL Server instance??
Viggee
Now the entire database is not accessible..
when i executed sp_databases, i get the error
Invalid object name : MSDB.dbo.Sysfiles
is there any way to create the MSDB again without re-installing the SQL Server instance??
Viggee
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If so, restore it (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_bkprst_2w1f.asp). If not, you can use the REBUILDM utility to do it. Rebuildm rebuilds the master database, so make sure you back it up first, cause you'll have to restore it after you run the utility.
Brett