I need to compare two account number columns from two different tables to see if they match. The account number in one table has a leading single quote and the other does not. My question is how would I ignore or remove the leading quote before I made the comparison in my query?
Thanks in advance
The SUBSTRING function can be used to trim the first character off the field ie
SUBSTRING(field1, 2)
I would be questioning why the field is being stored with the single quote in the first place.