Would it be a good idea to create an index on a table that
always contains 10 records? Why or why not?

Answers were Sorted based on User's Feedback



Would it be a good idea to create an index on a table that always contains 10 records? Why or why ..

Answer / bharathi

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 ?    5 Yes 0 No

Would it be a good idea to create an index on a table that always contains 10 records? Why or why ..

Answer / laxman

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 ?    3 Yes 0 No

Would it be a good idea to create an index on a table that always contains 10 records? Why or why ..

Answer / subhash

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 ?    1 Yes 0 No

Post New Answer

More SQL Server Interview Questions

List down some advantages of sql stored procedure?

0 Answers  


What is difference between drop truncate and delete?

0 Answers  


What is the difference between a local and a global variable?

5 Answers  


Why we need a group by clause?

4 Answers  


Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

0 Answers   Amazon,






How do I debug a stored procedure in sql server?

0 Answers  


Explain Different types of Projects?

1 Answers  


How To delete duplicate record from a particular table?

12 Answers   eXensys, Foxfire,


what is denormalization and when would you go for it? : Sql server database administration

0 Answers  


How to swap the data of two columns in a table. both the columns containing varchar values.

9 Answers  


What are the components of dbms?

0 Answers  


If you are working on a SQL database and if suddenly a developer changes the code and your queries results start giving errors,how will you check using a T-SQL query (on system tables) that what has changed in the database.

2 Answers   Microsoft,


Categories