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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AartiPosted Dec 10, 2013, 2:13 AM
You should generally add non-clustered indexes to columns that are used as foreign keys.
Ravi ShekharPosted Sep 30, 2013, 12:11 AM
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???
Vilas GitePosted Sep 28, 2013, 10:02 AM
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 ShekharPosted Sep 17, 2013, 1:26 AM
can anyone explain in simple text???
Jignesh TrivediPosted Sep 17, 2013, 1:15 AM
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.