Question: - - - - Q 6 : Drop the clustered index on T 3 ( a , b ) . Create a clustered index on
Q: Drop the clustered index on Tab Create a clustered index on Tba Why the column order in the index made a difference
Show the new query plan and explain.
You may use the following commands to add a primary key to a table
alter table T drop constraint TPK
alter table T add CONSTRAINT TPK primary key ba
Q: for the query below, can you elaborate on the impact of the value of @param on the query plan
Please give different values to @param, show how the query plan may change in response to the value of @param
and explain why the query optimizer decided to choose each query plan
SELECT
FROM T JOIN T on Ta Ta JOIN T on Ta Tb
Where Ta@param
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
