# Running a SQL Command Against All DB’s

- URL: https://dynamicaccounting.net/running-a-sql-command-against-all-dbs/
- Date: 2008-11-04
- Topics: SQL & Data, Install, Upgrade & Admin, Tips & Hidden Features
- Type: link to an external article
- Source: https://blogs.msdn.microsoft.com/developingfordynamicsgp/2008/11/02/running-sql-commands-against-all-gp-company-databases/

Running a SQL command against all DB’s seems to be the topic of the week. [Developing for Dynamics GP](https://blogs.msdn.microsoft.com/developingfordynamicsgp/2008/11/02/running-sql-commands-against-all-gp-company-databases/) has [two options.](https://blogs.msdn.microsoft.com/developingfordynamicsgp/2008/10/27/running-a-sql-script-against-all-gp-company-databases/) Mariano Gomez has a [third option](http://dynamicsgpblogster.blogspot.com/2008/10/developing-for-dynamics-gp-weekly_30.html) and the [Newgroup is full of information.](http://groups.google.com/forum/#!topic/microsoft.public.greatplains/KLr2WNzb4-k)

So if you have a lot of GP databases now you know where to look.
