I Want To Execute This In Sqlserver 2005: Update Sys.sysdatabases Set Status=32768 Where Dbid=db_id(‘fake’)?

I have set allow update to 1 but it accoure the error that Ad hoc updates to system catalogs are not allowed.

Tags: , , , , , , , , ,

One Response to “I Want To Execute This In Sqlserver 2005: Update Sys.sysdatabases Set Status=32768 Where Dbid=db_id(‘fake’)?”

  1. Hassan says:

    In 2005 you do not update the system catalogs directly
    Perhaps your database has integrity problems. Have you run DBCC
    CHECKDB(dbname)? I would suggest doing so.
    or you can try this:http://www.developmentnow.com/g/116_2004…

Leave a Reply