I generally try and join using the primary key which is usually a clustered index. This is the fastest type of join because clustered indexes only exist on columns where there are no duplicates.
Non-clustered index I use less. The only time you should use one is if you commonly join on a column that is not the primary key and there are large numbers of rows i.e hundreds of thousands in the table. That is the only time you will benefit from the faster querying because of the overhead used to create and maintain indexes.
In my experience most people over use non-clustered indexes.



LinkBack URL
About LinkBacks

Bookmarks