Hi,
In general a well-designed view ( which is just a query saved in the data dictionary) may perform as well as a SP for anything that standard SQL can do...There are things, however, that, if trying to use a standard query, would be difficult to make efficient ( or even possible, like testing the returned values from a subquery and constructing a 'where' clause based on those results).
As others have stated here, testing is much better than theory, so try both to see which works best in a given situation.
To Paraphrase:"The Help you get is proportional to the Help you give.."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.