Link to home
Start Free TrialLog in
Avatar of RakeshBhandari
RakeshBhandariFlag for India

asked on

index query after renaming table

dear experts,

i am using MS SQL SERVER 2008 R2

i upload 20lac records in a table from a file
this task takes around 1hour or so
this table has 2 index columns on it

i wanted to ask if rename the table using "exec sp_rename", will the indexes still work?
i mean... i know they will still exist, but during query execution, will they still be used?


also... how do i judge how much an index is being utilised during a query execution of the table where the index is made?

Avatar of ill
ill
Flag of Slovakia image

simple way to check:
in SSMS( management studio) click 'Include Actual Execution Plan' icon on top and run the query. Result window will add an extra tab, where you can see the statistics.
Avatar of RakeshBhandari

ASKER

i did that [include actual execution plan]... but i don't know how to read [i mean understand] the information provided
ASKER CERTIFIED SOLUTION
Avatar of raulggonzalez
raulggonzalez

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of lcohan
lcohan
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you!