I have a debt collection database that has 71 columns in 1 table that could possibly have a phone number in it(primary phone, work phone, cell phone, custom1, custom2, custom3) etc..etc... What I'm trying to accomplish is a C# window form app that searches for a phone number you input into the form and finds a match which will give you the account number of the account upon successfully matching the phone number.
Not all phone numbers have the exact same format ie. (444-444-1111, 4444441111, (444)444-1111) etc....So far I haven't been able to find anything on here as to how I can structure the select statement to find a match. I'm a complete noob at this whole process but from what I've found I could possibly use a CONCAT or  REGEXP possibly.
Any examples would be greatly appreciated!
This is just a mock-up of what I'm thinking.
select * 
from dbase 
where 
  primaryphone,
  cellphone, 
  workphone, 
  spouseworkphone, 
  spouseemployerphone, 
  employerphone, 
  custom1, 
  custom2, 
  -- all customs fields from 3 to 57
  custom58, 
  custom59, 
  custom60 = '444-444-1111'
 
     
     
    