I was just starting to learn SQL, so I'm not so good at it yet, and I was not sure how to do it, because I could not correctly formulate the question, so I decided to ask the question myself.
Okay, so here is what I'm trying to do in my particular case: I am using Microsoft Access 2010. In my table called "MEMBERS" I have the field "Address". The entries in this column are very dirty, so I'm trying to remove it. Some of the entries contain "Road", while others contain "Rd". I want to update the columns that have βRoadβ and change this word only to βRdβ without affecting the rest of the address.
So, if one of the entries was β7 Example Roadβ, I would like to create a query to change it to β7 Example Rdβ.
This is the query I was trying to use:
UPDATE MEMBERS SET 'Rd' WHERE Address LIKE '*Road'
Any help would be greatly appreciated!
source share