I need the value of my data to look like this 18184789564.
I used this code:
REGEXP_REPLACE(+1, b.PHONE_NUMBER, '[^0-9]', '') AS PHONE_NUMBER
I get an error
Numeric value is not recognized
Hopefully I can just add as simple as 1 because I was able to removed the dashes already.
Snowflake uses the
CONCAT()function for string concatenation. You have to do the concatenation with the result ofREGEXP_REPLACE().