Question : Video examples for Inner join with 2 databases

Does anyone have any links to show how to INNER join 2 tables from 2 different databases ?


Thanks
fordraiders

Answer : Video examples for Inner join with 2 databases

This is straightforward if those two databases are on the same server , all you need is to use a 3 part names for the objects

SELECT a.*
FROM database1.schemaName.TableName a
INNER JOIN Database2.SchemaName.TableName b ON a.Somekey = b.SomeKey
Random Solutions  
 
programming4us programming4us