• Maqsood Ahmad (10/23/2008)


    I executed this command

    DBCC CHECKDB('AlarmSwitch') WITH NO_INFOMSGS

    It took about 3 minutes and then I got message 'Command(s) completed successfully.'

    Its mean there is no problem with my DB. Am I right?

    Yup. No problems there

    You are right we should not rely on these values. In fact we should store this kind of info in our own tables but because this db access layer was desinged by an other team for us about five years ago (for SQL Server 200) and they used this approach.

    Unfortunately you're going to have to change your app. The other team designed things in a really bad way that went against every recommendation and best practice there is regarding the system tables.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass