I have a SQL Server table with 3 similar columns: Telephone 1, Telephone 2, and Telephone 3. User will provide a telephone number, and SQL should fetch the data in the least possible time in an optimum way from one of the 3 columns. Telephone number can exist in any of the 3 columns.
I'm thinking of one or two options:
Creating a 4th column combining the 3 telephone columns. And, doing a search on the concatenated value.
May be a child table with only the 3 telephone columns with a CLUSTERED index.
Is there a better way? (Im sure there's one.) I know we can do a hash of 3 columns and do a faster search. I don't know much about hash. Has anyone worked on a similar situation?