Thanks for your help on my first query. It wasn't actually a stored procedure but a script in the query analyser window. The script is to update 40 identical databases. I can use the USE command to change databases but once I've done that I want to be able to re-run the script in the window...
I have an update stored procedure which needs to be run over 40 identical databases on the same server. Is it possible to include a command in the update stored procedure to change from one database to another?
Thanks for your help
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.