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
how will add additional conditions in sql?
How many types of subqueries are there in sql server?
How many tables can be joined in SQL Server?
How exceptions can be handled in sql server programming?
what is checksum in sql server.........???
What is bulkcopy in sql?
How do you Implement SSIS Packages in your Project?
What are the disadvantages of using the stored procedures?
What happens on checkpoint?
How to list all objects in a given schema?
What are Row versions of DataRow?
Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?
How do I get Report Builder to generate a parameter that can be set by users viewing the report?
Tell me when is the update_statistics command used?
Explain what are magic tables in sql server?