Phone number lookups using incoming numbers of varying lengths, with or without prefixes
问题 Systems: -Call Center phone system: incoming calls accompanied by the source number, aka Caller ID, aka "ANI" -SQL Server 2005 - the "data warehouse" which stores customer phone numbers ([cANI]), cust names, location, etc. in a table [CustDataByANI] -Stored Procedure - call center software passes the Caller ID (aka ANI) to a SP as a parameter which uses it to perform a presently simple SELECT statement on the CustDataByANI table....WHERE [cANI] = @ANI. This works wonderfully, provided the