I have a JOIN on two tables, and I have no control over the data. I've now
ran into a situation where one of the tables contains wildcard characters
that are fouling up the JOIN.

Table1.column:
0110 EXFN 01 ABCD

Table2.column
0110 EXFN 01
____ EXFN 01

The JOIN clause:
T2.column concat '%' LIKE T1.column

This has always worked fine, but in this case it's matching both rows in
Table2.

Any suggestions on this?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.