Question : TRIM a PHONENumber field so result is only NUMBERS....?

Experts:

What is the easiest way to trim a Phone Number field to onlyu show NUMBERS no "()" and no "-"..?

Field looks like this:

2145551212
(214)123-1236
2145551111

need this:

2145551212
2141231236
2145551111

Thanks
M

Answer : TRIM a PHONENumber field so result is only NUMBERS....?

select
replace(replace(replace(phonenumber, '(', ''), ')', ''), '-', '') as phonno, *
from tablename
Random Solutions  
 
programming4us programming4us