Join tables from different databasesVenkatesan Jayakantham14yPublished May 10, 2012, 12:00 AMUpdated May 10, 2012, 6:34 PM3.1k00Reactions×25BlogThis can be achieved by joining the tables or indicating the tables using Fully Qualified names. SELECT t1.id, t1.name FROM AdventureWorks.dbo.Venkat_Table1 t1 INNER JOIN AdventureWorksLT2008R2.dbo.Venkat_Table2 t2 ON t1.id = t2.idCommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.