Skip to content

Instantly share code, notes, and snippets.

@clintmjohnson
Last active August 29, 2015 14:21
Show Gist options
  • Save clintmjohnson/186e03cd73a251fd33f7 to your computer and use it in GitHub Desktop.
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.
,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