Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 inner join on like

Author  Topic 

tpiazza55
Posting Yak Master

162 Posts

Posted - 2008-05-14 : 16:08:56
how do i get a like working with an inner join

basically i need the query below to work


SELECT a.address1, a.roadid, b.RoadName
FROM tblUser AS a INNER JOIN
tblRoad AS b ON b.RoadName LIKE ('%' + a.address1 + '%')

tpiazza55
Posting Yak Master

162 Posts

Posted - 2008-05-14 : 16:09:47
nevermind had the join backwards

please delete
Go to Top of Page
   

- Advertisement -