What about UPDATESTATISTICS ?

Answer Posted / anand

The UPDATE STATISTICS statement defines the storage
requirements of tables and indexes as well as the value
distribution of columns, and stores this information in the
database catalog.

Syntax
<update statistics statement> ::=
UPDATE STAT[ISTICS] COLUMN <table name>.<column name>
[ESTIMATE [<sample definition>]]
| UPDATE STAT[ISTICS] COLUMN (<column name>,...) FOR <table
name> [ESTIMATE [<sample definition>]]
| UPDATE STAT[ISTICS] COLUMN (*) FOR <table name> [ESTIMATE
[<sample definition>]]
| UPDATE STAT[ISTICS] <table name> [ESTIMATE [<sample
definition>]]
| UPDATE STAT[ISTICS] [<owner>.][<identifier>]* [ESTIMATE
[<sample definition>]]

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List layers of abstraction microsoft architectured to provide relational db through cloud platform ?

163


What do you mean by recursive stored procedure?

520


Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture

512


To which devices can a backup be created and where should these devices be located? : sql server management studio

577


How do I run a trace in sql server?

517






what are the new features introduced in sql server 2000? : Sql server database administration

558


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

662


How to use “drop” keyword in sql server and give an example?

694


How to stop a loop early with break statements in ms sql server?

584


what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

660


How do you start single user mode in clustered installations?

534


Explain aggregate functions?

579


Ms sql server index?

560


What is TDS(Tabular Data Stream) Gateway?

103


Write a program to fetch first 10 records from a file?

617