Problem Statement:
- Sales Cloud is integrated with Marketing Cloud
- The mobile number in Account, if 10 digits, is stored as (123)456-7890 in both Sales and Marketing Clouds
- In SFMC, we sync Accounts in a DE which also stores the number in the above format.
- Next we have a journey from which we send SMS and in this SMS we have some personalization such as Account First Name
- In MobileConnect the Mobile number is stored as 1234567890. We take this mobile number and then query the Account DE but the query fails because in the Account DE, the mobile number was stored as (123)456-7890
- We thought of formatting the mobile number at the time of fetching it from Sync DE into another DE but SQL in SFMC does not support replace function.
Any Suggestions?