G
Guest
I've two tables I want to join when a text field matches once all blanks (and
case) are ignored e.g. "A b CC d" will join with "ABCCD". What I wanted to
use was
.... Where UCASE(SUBSTITUTE(tableA.joinfield," ","") =
UCASE(SUBSTITUTE(tableB.joinfield," ","")
but the worksheet function substitute isn't recognised by SQL. Is there
another way of doing this in SQL? Or is there a VBA way of unloading the data
then reloading it so the join will work?
case) are ignored e.g. "A b CC d" will join with "ABCCD". What I wanted to
use was
.... Where UCASE(SUBSTITUTE(tableA.joinfield," ","") =
UCASE(SUBSTITUTE(tableB.joinfield," ","")
but the worksheet function substitute isn't recognised by SQL. Is there
another way of doing this in SQL? Or is there a VBA way of unloading the data
then reloading it so the join will work?