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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
Would it be a good idea to create an index on a table that 
always contains 10 records? Why or why not?
 Question Submitted By :: Vanitha.s
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Would it be a good idea to create an index on a table that always contains 10 records? Why or why not?
Answer
# 1
Not a good idea.

Indexes are used for improve select query performance. 
indexes will be useful when the data is more and more.
 
Is This Answer Correct ?    0 Yes 0 No
Laxman
 
  Re: Would it be a good idea to create an index on a table that always contains 10 records? Why or why not?
Answer
# 2
No it is not a good idea. Indexes are very expensive to 
maintain. Indexes are created mainly to improve performace. 
If there are only 10 rows in a table, creating index would 
not make any difference in the performace.
 
Is This Answer Correct ?    2 Yes 0 No
Bharathi
 
 
 
  Re: Would it be a good idea to create an index on a table that always contains 10 records? Why or why not?
Answer
# 3
No it's not a good idea. 

Table scan would be fine for smaller tables with less records. Moreover indexes need disk space. It's not necessary to create an index and waste the disk space.
 
Is This Answer Correct ?    0 Yes 0 No
Subhash
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
About DTS usage ? Cognizent2
I have a table EMP in which the values will be like this EmpId Ename Sal DeptId 11 Ram 10000 10 11 Ram 10000 10 22 Raj 20000 20 22 Raj 20000 20 33 Anil 15000 30 33 Anil 15000 30 I want to delete only duplicate Rows. After Delete I want the output like this EmpId Ename Sal DeptId 11 Ram 10000 10 22 Raj 20000 20 33 Anil 15000 30 DELL10
WHY CAN WE CREATE ONLY ONE CLUSTERED INDEX ON A TABLE IN SQL SERVER?  6
difference between sql server2000 and sql server2005 KPMG1
logshipping is Any difference 2000 and 2005?  1
i have table students with fields classname,studname select * from students classname studname 1 xxxxx 1 yyyy 1 zzzz 2 qqqq 2 tttt 3 dsds 3 www i want the output should be No of students in class 1 : 3 No of students in class 2 : 2 No of students in class 3 : 2 HCL2
What are the type of joins? When do we use Outer and Self joins?  3
What is the advantage of specifying WITH GRANT OPTION in the GRANT command?  2
Can you link only other SQL Servers or any database servers such as Oracle?  1
What is a transaction and what are ACID properties? IBM4
Is it possible to create a stored procedure that runs a query and outputs the results to a text file and allows me to add extra delimeters and static field info. If so How?  1
What is the difference between HAVING clause and the WHERE clause?  4
What is row by row processing ?  1
Hi Can any one tell me the Good institute to learn SQL esp for Data Base Testing or SQL from scratch to the proficiency level in Hyederabad and facult also. Thankyou well in advance  6
How do we get month name in SQL Server 2000, Oracle, MS Access?  9
PC(code, model, speed, ram, hd, cd, price) Find the hard drive sizes that are equal among two or more PCs. APX2
What is deadlock and how to avoid the deadlocks. Wipro3
What is the system function to get the current user's user id? HCL1
what is the diffrence between Snap Shot and Transaction Replication CSC1
What is blocking and how would you troubleshoot it?  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