Select records where last character in string is a letter
766420May 14 2010 — edited May 14 2010Hello,
I have a table STREET with a field NAME where there is single letter at the end of some names that shouldn't be there. I want to select all the names that are like this. For example: "GREENE *B*", "JOHN LOT *J*".
what i would like to do with this query is populate a new field NAME2 with the correct version of the name without the last letter. Ex: "GREENE B"-> "GREENE".
Would this be an RTRIM command?
Thanks!