Cleanly Shutdown

  • The status column of the sysdatabases table can have various values which are documented in BOL. All are straightforward with the exception of the last one.

    1073741824 - cleanly shutdown

    I can't find any reference to this anywhere - does anyone know what this represents?

    Thanks

  • When you take a db offline without an error, the entry for status is - in my case - 1077936640 which is the sum of cleanly shutdown, offline and autoshrink. So my guess is this value indicates that everything's ok.

    Cheers,

    Frank

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • That would appear to make sense.

    However it appears on only one of my databases and that is Model - this database is certainly not offline.

    I'll play around with taking db's offline and see what I get.

    Thanks anyway

  • Well, status in my model db is 0.

    Good luck!

    Cheers,

    Frank

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply