"Purple-D" <passcore@gmail.com> wrote in message
news:c34d47c3-5a8a-4b30-b636-
> My problem is I cannot put the extra filter in the query as it has to
> sit behind a view which would add the required filters as needed
Why not? Just put the where clause on the SQL that accesses the view.
Purple-D - 28 Mar 2008 13:59 GMT
> "Purple-D" <passc...@gmail.com> wrote in message
>
[quoted text clipped - 4 lines]
>
> Why not? Just put the where clause on the SQL that accesses the view.
It seems to run the 'view' first and then applies the where clause on
the result set and so the access plan is not as optimal as it would be
if the where clause were directly applied to the sql under the view.