Hi,
Iam trying to optimize some queries and views.When I run the queries and view the execution plan,
it shows clustered Index scan for some tables.For eg. table1 may have a PK and in the execution plan it shows
it is using that, as table1.pkindexname.The query may have another column (col2)of table1 which is not indexed
used for a join to another table say table2.colname (where table2.col may be a PK and Indexed)
.Is this the reason why it shows clustered Indexed scan? Will it increase the performance if I Index on
table1.col2 also.
I would greatly appreciate some guidelines on this
Thanks
Bill
Iam trying to optimize some queries and views.When I run the queries and view the execution plan,
it shows clustered Index scan for some tables.For eg. table1 may have a PK and in the execution plan it shows
it is using that, as table1.pkindexname.The query may have another column (col2)of table1 which is not indexed
used for a join to another table say table2.colname (where table2.col may be a PK and Indexed)
.Is this the reason why it shows clustered Indexed scan? Will it increase the performance if I Index on
table1.col2 also.
I would greatly appreciate some guidelines on this
Thanks
Bill