statistics update

  • I am updating statistics foe some tables in a database, how do i find what is the % of updates are completed so far and is there a way to update statistics by column instead of table.

  • EXEC sp_updatestats gives more detailed messaging and also kind of how far the update completed as of now. But this updates all tables within a db.

    On the Other Hand you an use UPDATE STATISTICS to update only the columns within the table.

    UPDATE STATISTICS Sales.SalesOrderDetail WITH COLUMNS;

    But is doesn't give any status messages.

    Thank You,

    Best Regards,

    SQLBuddy

Viewing 2 posts - 1 through 2 (of 2 total)

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