Link to home
Start Free TrialLog in
Avatar of louise_8
louise_8

asked on

sql server -replace characters in a column in an entire table

Hi,

Im looking to replace characters in the phone number columns in an entire table

eg replace any phone number starting with '+614' or '+61 4' to '04'

update customer
set vphone = ??
where vPhone like '+614%' or '+61 4%'

thanks
SOLUTION
Avatar of Steve Wales
Steve Wales
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of louise_8
louise_8

ASKER

thanks