I am looking at a table with phone1, phone2 and mobile. However the phone strings are not formatted properly.
The phone numbers are basically free text like this:
row1: phone1:19123123123
row2: mobile:+1 912 123 123
row3: phone2:1 912 123 123
row4: mobile:(+1) 912 123 123
row5: phone2:(+1)912-123-123
Is it possible to write a SQL query to find if one of the fields phone1, phone2 or mobile is +19123123123 but it needs to be able to match any one of those free text examples? Thanks
So in the above example, it should return all 5 records be those free text match that phone number and is in one of the 3 fields.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…