Update Statistics Task

The update statistics task updates information about the distribution of key values for one or more statistics groups (collections) in the specified table or indexed view. By using the update statistics task, a package can update statistics for a single database or multiple databases. If the task updates only the statistics in a single database, you can choose the views or the tables whose statistics the task updates. You can configure the update to update all statistics, column statistics only, or index statistics only.

Step 1:

Drag and drop update statistics task and edit it


Step 2:

Give a new connection as update statistics task


Step 3:

Select database as AdventureWorks


Step 3:

Click on view T-SQL


Step 4:

Select update mode as all existing statistics


Step 5:

Execute a task




Comments

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Restore of database 'DataBase_Name' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)

Cannot convert "Column" between a unicode and a non-unicode string data types in SSIS