I have two tables:
TABLE A TABLE B
SSN 123456789 SSN 123456789
NAME DOE, JOHN VNAME DOE,JOHN
I would like to seleced all records from both tables where the SSN & NAME are the same. However, in the example above there is a space between the last name and first name in TABLE A and no space between the last name and first name in TABLE B. Is there a simple way to compare the names?
TABLE A TABLE B
SSN 123456789 SSN 123456789
NAME DOE, JOHN VNAME DOE,JOHN
I would like to seleced all records from both tables where the SSN & NAME are the same. However, in the example above there is a space between the last name and first name in TABLE A and no space between the last name and first name in TABLE B. Is there a simple way to compare the names?