SELECT MyColumn FROM FirstTable a INNER JOIN SecondTable b ON a.MyID COLLATE DATABASE_DEFAULT = b.YourID COLLATE DATABASE_DEFAULT