I have many many views and I would like to do some housekeeping. Is it possible to run a SP to find out if a view is in use by a stored procedure or another view etc?
You could script out all the Stored Procedures and Views to a text file and then edit the file(s). Do a simple FIND on the needed view name w/in the file and BINGO.
Or sysdepends... though it won't help much if dynamic SQL is heavily used.
------ "There's a man... He's bald and wears a short-sleeved shirt, and somehow he's very important to me. I think his name is Homer."
(Jack O'Neill, Stargate)
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.