I got a query from one of the books on SQL server 2005 to view the usage statistics of all the indexes of a particular table. Thw query is
On executing the above query i am getting an error as
"Incorrect syntax near ("
However, when i specify the first parameter as NULL the query is running fine
View Complete Post