I run a piece of software where each customer has their own database. I have a master database with their setup as well as their database names which is a part of their config.
What I am struggling with is updating hundreds of databases every time there is a platform update. Is there a way that I can select distinct databases from the master database and then loop through one by one and update my update scripts?