-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

SQL Query Design Patterns and Best Practices
By :

An index is a reference list for users to make their search process easier and faster from the database table. Indexes maintain data in ordered tables or maintain a separate list of the pointers to data to improve the read efficiency of query processing. To search for a value in an unindexed table, SQL has to go through every row and column until the value is found, whereas if the table is indexed, SQL can reference the index and can directly go to the record and column where the value is located. Therefore, indexing becomes the most efficient option for data retrieval and searching.
Formally, indexes are an invaluable tool in relational databases, such as SQL Server. There are many types of indexes available in SQL Server, each of which can be used to increase the overall performance of a database. Clustered indexes are the most popular of these index types and organize data in pages sorted by the clustered index column(s) value. Non-clustered...