Last active
August 29, 2015 14:21
-
-
Save clintmjohnson/186e03cd73a251fd33f7 to your computer and use it in GitHub Desktop.
This is a Nested REPLACE Query for Stripping non numerical values from Phone Numbers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
,REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE([Billing Phone],'(','') | |
,')','') | |
,'-','') | |
,' ','') | |
,'+','') AS PhoneNumber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment