I have a very complex view which we've been working with for some
time. As we have progressed with this view, we have reached the stage
where the data is generated into a table which is then used in our
reporting application. This has improved reporting performance
considerably.
There is a stored procedure which copies the data from the view into a
table. Very simple select into statement.
However, I was wondering if I actually held the query code in the
stored procedure, would this improve performance ?
The only user for this would be the server for getting to the data in
the view and generating into a table.
I know it's a very general question, but would I see any performance
difference doing this as an SP instead of an SP calling a view ?
Would appreciate any constructive comments. Not posting the view as
it'll be too long, but FWIW, using SQL 7.