Viewing 6 posts - 1 through 6 (of 6 total)
here is the execution plan in XML, seems to be doing a hash match, can you view this in ssms
query is
select [ElementID] ,
[mm] ,
[MPAN] ,
[Reference] ,
[yy]
from withClusteredIdx
<?xml version="1.0"...
January 23, 2013 at 6:05 am
Thanks for your reply, surely the performance of the query defining the index view shouldn't have an impact on a query referencing the view if the index covers all column...
January 23, 2013 at 4:44 am
Here is the script, is should return a years worth of data from @month and @year.
Surely the column order in the query is irrelevant to the optimizer?
create view withClusteredIdx
with...
January 23, 2013 at 4:18 am
select <field list req'd>
from <your table>
where <field with dupes> in (select <field with dupes> from <your table> group by <field with dupes>
having count(*) > 1)
January 23, 2013 at 4:12 am
I meant *no performance benefit
January 23, 2013 at 4:08 am
seems there was a lack of communication, my colleague had indeed created this role!
February 24, 2012 at 8:57 am
Viewing 6 posts - 1 through 6 (of 6 total)