select * from stuff order by Id
the query runs very slow. However when I qualify the Id column with
one of the aliases in
the underlying query of the view like this
select * from stuff order by s.Id
the query runs 10-12 times faster. Why is that?
Cheers,
Aeden
Have you compare bot execution plans?
<aeden....@gmail.com> wrote in message
news:b6e1bc20-a544-4b63...@h14g2000pri.googlegroups.com...