I have 2 tables ... Table A - PkId , OldRefID, NewRefID 22 , 123 , 124 23 , 445, 490 .. .. Table B PKID , Col1, Col2, Col3 123 , 4, 5, 6 124 , 56, 67, 88 445, 9387,433, 333 490 , 33, 4556, 222 As you can See Table B's PKIDs are same as OldRefID and NewRefID of table A. Or in other words each of teh...