I have a query I developed and optimised as well as possible before
converting to a view.
When running in query analyser the query runs in 15 to 18 seconds -
which is acceptable.
When "converting" into a view ( This is necessary for operational
reasons) and running with the same parameter it runs in 3 to 4
minutes.
Is there something I am unaware of ( well of course there is !!) -
I was wondering why this occurs and how I can avoid / correct the
issue.
All advice gratefully received.
Dave ( Still learning stuff about SQL Server every day!!)