Update Query Remove -

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have data I'm importing and I want to take out a dash in the middle of it.
How do I create an update query to do this? It's phone numbers and I want to
take the dash out.
 
The update query will be
UPDATE TableName SET TableName.FieldName= Replace([FieldName],"-"," ")

It replace the dash with space, if you don't want the space then
UPDATE TableName SET TableName.FieldName= Replace([FieldName],"-","")
 
Back
Top