Version 1

    The function takes one paramater (@interfacetype as int) and returns the corresponding InterfaceTypeName as nvarchar(255).