Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Indexing a view with a user defined Aggregate

Author  Topic 

rrb
SQLTeam Poet Laureate

1479 Posts

Posted - 2010-05-18 : 21:38:20
Hi yaks

So I've built an aggregate in .NET for creating delimited lists and deployed and all works wonderfully.

But I want to index the view that uses that Aggregate. So the error returned is that the index can't be created because
"it uses Aggregate dbo.agg_mis_list. Consider eliminating the aggregate, not indexing the view or using alternate aggregates..."

I have already considered elimintating the aggregate, and not indexing the view, and if there was an alternate aggregate I would have used it :)

Has anyone achieved this and know how to do it?

Ta

--
I'm not schooled in the science of human factors, but I suspect that surprise is not an element of a robust user interface.
   

- Advertisement -