ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What about UPDATESTATISTICS ?
 Question Submitted By :: Durga Prasad
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What about UPDATESTATISTICS ?
Answer
# 1
Hi

This command is basically used when a large processing of 
data has occurred. If a large amount of deletions any 
modification or Bulk Copy into the tables has occurred, it 
has to update the indexes to take these changes into 
account. UPDATE_STATISTICS updates the indexes on these 
tables accordingly.
 
Is This Answer Correct ?    2 Yes 0 No
Rajesh Ranjan
 
  Re: What about UPDATESTATISTICS ?
Answer
# 2
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
Anand
 
 
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
How do you troubleshoot SQL Server if its running very slow?  2
What is a stored procedure?  3
Can we use Truncate command on a table which is referenced by FOREIGN KEY?  2
What is Peer to peer Replication? HCL1
how will u create "n" possible tables in sql... Oracle1
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?  9
Difference between writing SQL query and stored procedure ? Cognizent8
what are file groups? Evalueserve3
What is the difference between a Application Server and a Database Oracle2
How to Display, Amount of Disk Activity Generated by Transact-SQL Statements?  1
can you any body tell me suppose database is suspect mode. how can take to normal? Teledata1
How To delete duplicate record from a particular table? eXensys10
How to find the last update record in SQL Server?  3
The Difference between 'Count' and 'Count(*)'  12
logshipping is Any difference 2000 and 2005?  1
please tell me the query to get details of the employee having the second largest salary 247Customer8
How to handle errors in Stored Procedures. I want to display a message to the user in the .aspx page that is calling a stored procedure in it's code behind. please help me. 247Customer1
What is the difference between a Local temporary table and a Global temporary table? How is each one used?  1
can foreign key take role of primary key? TCS4
What is a Linked Server?  1
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com