Home Forums SQL Server 2008 SQL Server Newbies Join RE: Join
spaghettidba
SSC Guru
Points: 105732
More actions
May 2, 2014 at 8:40 am
#1710367
Your question is a bit confusing and I'm not sure this is what you really want, however I think that LIKE is what you're looking for:
SELECT SomeColumns
FROM TableA
LEFT JOIN TableB
ON A.DeviceType LIKE B.DeviceDetail + '%'
-- Gianluca Sartori