When do we use the UPDATE_STATISTICS command?
Answer Posted / nscom
There are three scenarios where you need to fire the update
statistics
1. Query execution times are slow.
2. Insert Operations Occur on Ascending or Descending Key
Columns
3. After Maintenance Operations - Operations that change the
*distribution of data" such as truncating a table or
performing a bulk insert of a large percentage of the rows.
More information is here
http://msdn.microsoft.com/en-us/library/ms190397.aspx#UpdateStatistics
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can we insert data into view sql server?
Can you tell me some of the common replication dmv's and their use? : sql server replication
What are distributed partitioned views?
What is join query?
How to add the custom code in Report?
What is the difference between coalesce() & isnull()?
What is policy based management (pbm)? : sql server database administration
What is tcl in sql server?
Can you pass expressions to function parameters?
Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration
What security features are available for stored procedure?
You are doing log shipping due to some reasons it is failing. How you will proceed from there
Explain tables in SQL Azure?
What is difference between clustered and non clustered index?
Explain the microsoft sql server delete command? : SQL Server Architecture