select * from db1.dbo.table_db1 as A, db2.dbo.table_db2 as B where A.Bank_ID = B.Bank_ID
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)