mysql sp_msforeachdb

Running a Query on Multiple Databases

Our company uses a CMS that we developed in-house, and there are around 60 sites running the most current version of it. That means about 60 sites with mostly identical database structures. When I make upgrades or bug fixes to the CMS, I commit them to a core...