Hi,
Ques What is an Index. Can I create a separate Index on each column of a table ?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Apr 8, 2012, 4:02 AM EDT
There are several types of indexes in sql server.
1) Clustered index
2) Non clustered index
3) Covering index
Clustered index will create automatically when you create the primary key on the table. A table can have only one clustered index.
Non clustered index is very useful for frequently searching columns in the table. As per the sql server 2008 you can have 999 non clustered index. All the rows it will have the lookup index table.
For more info:
http://msdn.microsoft.com/en-us/library/ms188783.aspx
http://www.simple-talk.com/sql/learn-sql-server/sql-server-index-basics/
Satyapriya NayakRank #47 · 31.5K reputationPosted Apr 8, 2012, 4:32 AM EDT
Please refer Our recommended articles
http://www.c-sharpcorner.com/uploadfile/b19d5a/index-in-sql-server-2008/default.aspx
http://www.c-sharpcorner.com/uploadfile/nipuntomar/clustered-index-and-non-clustered-index-in-sql-server/default.aspx
Thanks
MuthuMari MRank #5,738 · 288 reputationPosted Apr 8, 2012, 7:45 PM EDT
Index in sql is created on existing tables to retrieve the rows quickly.
When there are thousands of records in a table, retrieving information will take a long time. Therefore indexes are created on columns which are accessed frequently, so that the information can be retrieved quickly. Indexes can be created on a single column or a group of columns. When a index is created, it first sorts the data and then it assigns a ROWID for each row.
pls refer this urlhttp://beginner-sql-tutorial.com/sql-index.htm
Thanks.