what is indexes in sqlserver ., advantages of indexes and use
what is indexes in sqlserver ., advantages of indexes and use
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.
sathish kumarPosted May 25, 2012, 3:51 AM
When there are 1000 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 index is created , it first sorts the data and then it assigns ROWID for each row.
Syntax:
Create Index Index_Name
ON Table_Name (Column1, column2.......);
I hope this will be useful for u....
SenthilkumarPosted May 25, 2012, 3:45 AM
http://odetocode.com/articles/70.aspx