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 is index seek and index scan?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is index seek and index scan?
Answer
# 1
An index seek shows that the index is used in the table and
index scan shows that index is not used in table
 
Is This Answer Correct ?    4 Yes 0 No
Vasu
 
  Re: what is index seek and index scan?
Answer
# 2
Index Scan is nothing but scanning on the data pages from 
the first page to the last page. If there is an index on a 
table, and if the query is touching a larger amount of 
data, which means the query is retrieving more than 50 
percent or 90 percent of the data, and then optimizer would 
just scan all the data pages to retrieve the data rows. If 
there is no index, then you might see a Table Scan (Index 
Scan) in the execution plan.

Index seeks are generally preferred for the highly 
selective queries. What that means is that the query is 
just requesting a fewer number of rows or just retrieving 
the other 10 (some documents says 15 percent) of the rows 
of the table.


In Index Scan the cost is proportional to the total number 
of rows in the table. Thus, a scan is an efficient strategy 
if the table is small or if most of the rows qualify for 
the predicate.


In Index Seek the cost is proportional to the number of 
qualifying rows and pages rather than to the total number 
of rows in the table.
 
Is This Answer Correct ?    1 Yes 1 No
Sumit
 
 
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
how to rename the table  3
How can count the string ? for ex: If i have string like 'bhaskar' then i need like b:1 h:1 a:2 s:1 k:1 r:1 please give any idea on that TCS5
What is normalization and its forms? Challenger-Financial3
What are the magic tables in SQL Server 2000? Infogain5
What is the diff between Dynamic queries and static queries ICS-Integrated-Computer-Solutions1
we have emp table like Ename,EDOJ,EDOB with Column structure.but we want to know the employee Age.How? Any Body Plz  6
I am having table Title with TITLE id,Author ID, Publiser ID , table AUTHOR with Author ID, Author Name, table PUBLISER with Pub ID, Pub name Here hot to find out the publiser id who have relesed the books of patriticular author?  3
About DTS usage ? Cognizent2
How do you know which index a table is using?  4
HOW TO RENAME A COLUMN NAME  2
can primery key be a non clustered index?  8
How to display n-1 columns from n number of columns, from a single table in MS SQL server 2005?  1
What is a function? Give some example?  2
how to change column into row in sql ESS2
What's the maximum size of a row?  4
how to get 25th row in any table in sqlserver can u tell me syntax  4
please tell me the query to get details of the employee having the second largest salary 247Customer8
1.Describe way(s) to tune the SQL table in order to optimize performance. 2. Explain SQL Injection and how can you prevent them? Techno-Solutions1
Which system tables contain information on privileges granted and privileges obtained  1
What is a table called, if it does not have neither Cluster nor Non-cluster Index?  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