Hello,
I have a database with multiple tables that reference each other using foreign key constraints. On each of these columns i set a different nonclustered index.
However it seems that not everywhere i have a join on those foreign keys the index is used.
My question: Is there a chance that a query uses a nonclustered index and the execution plan doesnt show it?
Ive red somewhere that the nonclustered indexes use the clusterd index to retrieve their data and i was asking myself if this wouldnt hide the use of the nonclustered index in the execution plan.
thank you!
I have a database with multiple tables that reference each other using foreign key constraints. On each of these columns i set a different nonclustered index.
However it seems that not everywhere i have a join on those foreign keys the index is used.
My question: Is there a chance that a query uses a nonclustered index and the execution plan doesnt show it?
Ive red somewhere that the nonclustered indexes use the clusterd index to retrieve their data and i was asking myself if this wouldnt hide the use of the nonclustered index in the execution plan.
thank you!