Go to Top

Tag Archives

Tag Archives: multiple database query

Querying Multiple Tables in Multiple Databases MSSQL

Recently i had the task of querying multiple tables in multiple databases in Microsoft SQL Server. I thought i’d share it online for anyone else who may be looking at or struggling doing the same thing. Once you see the code it makes sense and is fairly straight forward but i will comment the code so you can see what does what etc. Lets say you have a database containing …Read More