• Procedure proc_FilltblUnusedIndexes (Manage Indexes)

    Please check that table tblIndexUsageInfo does not have a field by the name IndexSelectionCrieteria

    which you used on the UNION. If it is not a mistake please can you ALTER the Table and show us the value of the column? Otherwise the whole process is very neat.