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   SiteMap shows list of All Categories in this site.
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
When do we use the UPDATE_STATISTICS command?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: When do we use the UPDATE_STATISTICS command?
Answer
# 1
This command is basically used when we do a large processing
of data. If we do a large amount of deletions any
modification or Bulk Copy into the tables, we need to
basically update the indexes to take these changes into
account. UPDATE_STATISTICS updates the indexes on these
tables accordingly.
 
Is This Answer Correct ?    10 Yes 2 No
Guest
 
  Re: When do we use the UPDATE_STATISTICS command?
Answer
# 2
its used to create auto indexes on table. means non 
clustred indexes are created on table.which is used to 
easily craeted data pages for modification and deleteion.
 
Is This Answer Correct ?    0 Yes 4 No
Govind
 
 
 
  Re: When do we use the UPDATE_STATISTICS command?
Answer
# 3
That command is used to rebuild indexes on tables, which 
can speed up queries. You might want want to do it whenever 
a large amount of data has been deleted or added. It can be 
complicated to determine whether it is more efficient to do 
this, or to just let the statistics rebuild automatically 
so, as usual, testing is called for in each individual case 
to get optimal performance.
 
Is This Answer Correct ?    1 Yes 0 No
Sivakumar
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
We create an index to fast the search. How it fast the query? Do we write any special keyword with query?  3
how do we find every fifth record in a table  11
Can you tell me the difference between DELETE & TRUNCATE commands?  11
how to get the automatic backup of the database in the sql server  3
What is the difference between distinct clause and group by clause? Value-Labs1
How to write a script for upate the data in prod , i have 50000 row are there TCS2
In performance wise distinct is good or group by is good? eg:select name from emp group by name; select distinct name from emp; Infosys4
how can we use a composite key for two tables and how can we represent it BoA1
Plz tell about backup&recovery?  2
can any one please send sql quries most used in applications.  1
What's the difference between a primary key and a unique key? Wipro8
how to select a field with firstletter as capital and remaining are small letters  8
create procedure proc1 (@a int) as begin if @a=1 create table #temp(a1 int) else create table #temp(a1 int) end while executeing the above code it shows error like '#temp already exist' .why it shows an error? IBM5
can primery key be a non clustered index?  8
what is the order of execution of where,having,group by in select stement Tanla-Solutions5
1.How to check the backup file details if we do not have access to that folder 2.how to check the backup file size without connecting to the folder IBM1
What is the difference between UNION and UNIONALL? CTS2
Can we create a clustered index on composite primary key.  2
How to Check Whether a Global Temporary Exists in a SQL Database or not?  2
What is the difference between OLEDB and ODBC CFCI3
 
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