How to find Case Mismatches from Subset CustIDs to Profile CustIDs in HEAT Help Desk

Version 1

    Details

    Case mismatches between the CustID values on Subset and CustID values on Profile can cause issues with HSS.


    Resolution

    Run the following in SQL Server Management Studio to identify records where the case is different between the HEATCAI.CustID and the Profile.CustID:

    SELECT DISTINCT(CustID), CallID

    FROM Subset

    WHERE (CustID  IN

    (SELECT CustID FROM Profile)

    AND CustID Collate SQL_Latin1_General_CP1_CS_AS NOT IN

    (SELECT CustID FROM Profile))