How to know which index is required on the table. What is the main logic to create a non clustered index.??
Please explain.
I am very much confuse in indexing.
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
AartiRank #2,383 · 594 reputationPosted Dec 9, 2013, 9:13 PM EST
You should generally add non-clustered indexes to columns that are used as foreign keys.
Jignesh TrivediRank #16 · 50.3K reputationPosted Sep 16, 2013, 9:15 PM EDT
hi,
nonclustered index is required to speed up your SQL query.
Please refer
http://technet.microsoft.com/en-us/library/ms177484(v=sql.105).aspx
http://www.mssqltips.com/sqlservertutorial/2906/choosing-nonclustered-indexes/
hope this will help you.
Ravi ShekharRank #673 · 3.6K reputationPosted Sep 16, 2013, 9:26 PM EDT
can anyone explain in simple text???
Vilas GiteRank #951 · 2.1K reputationPosted Sep 28, 2013, 6:02 AM EDT
It is like a book with Index Page, on which page which chapter is located and if there are are human error for binding of pages then we can alter easily in index page. :)
This is real life example of Indexing.
---
A cluster index alters the way which rows are stored in table.
A non-cluster index does not alter the way the rows which are stored in table.
Ravi ShekharRank #673 · 3.6K reputationPosted Sep 29, 2013, 8:11 PM EDT
I know the basics meaning of Index. I just want to know that suppose I have put a sql query for search anything on the basis of some columns . In this scenario should i put non clustered index including my all columns in where clause???
is it the right way???