jtrovato
12-09-2002, 01:49 AM
I have thousands of fields in a datbase that I imported from a text file, the only problem was that the old system didn't format phone number correctly.
(xxx) 555-1212
516-555-1212
and so on
I want to remove all non-numbers for them field, is there a query I can use to do this faster than going through each row and changing it myself
UPDATE locations SET location_phone= '6315874729' WHERE location_id=1805
would be the query to change the number.
Thanks
(xxx) 555-1212
516-555-1212
and so on
I want to remove all non-numbers for them field, is there a query I can use to do this faster than going through each row and changing it myself
UPDATE locations SET location_phone= '6315874729' WHERE location_id=1805
would be the query to change the number.
Thanks
