Updatign status after index creation in SQLS ERVER 2008

Yanıt Updatign status after index creation in SQLS ERVER 2008

  • 01 Mayıs 2012 Salı 21:43
     
     

    Hello,
    When a new index is added to an existing table with rows in it, is it always required to execute the following to update the stats (or) will Create Index will inturn also updatethe stats?

    USE DBName;
    GO
    EXEC sp_updatestats

    Would this gather stats for all the tables in database DBName?
    Thanks!

Tüm Yanıtlar