find one string inside another string, comparing two columns


/ Published in: SQL
Save to your folder(s)

in this case, we wanted to match fields where the district field in table b contained things like "LAM2-OUTSIDETOWN" and we wanted to match that to fields in table a which only had "LAM2" in them. "INSTR" ("in string") is our friend:

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.