How to find Case Mismatches from CallType to DetailTypes in HEAT Help Desk

Version 1

    Details

    Case mismatches between the CallType values on the CallType table and DetailTypes can cause issues with Web UI and HSS.


    Resolution

    Run the following in SQL Server Management Studio to identify records where the case is different between the CallTypes and the DetailTypes:

    SELECT DISTINCT(CallType)

    FROM CallType

    WHERE (CallType  IN

    (SELECT TableType FROM HEATFld WHERE TableName = 'Detail')

    AND CallType Collate SQL_Latin1_General_CP1_CS_AS NOT IN

    (SELECT TableType FROM HEATFld WHERE TableName = 'Detail'))