• saidapurs (4/24/2013)


    Use the below command for consistency errors..

    DBcc updateusage(BDname, "Tablename")

    Nope, completely useless.

    The only thing that will fix is incorrect space used information. Run that on a table with corruption and you'll just get an error, it is not some magical fix for consistency errors.

    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