FUNCTION  fProgramTypeN

Return the ProgramType name, indexed by value

the ProgramTypes can be found with
Select * from ProgramType
Sample call to fProgramTypeN.
select top 10 dbo.fProgramTypeN(programType) as programType
from Tile

see also fProgramType

Input and output parameters

nametypelengthinoutpnum
@valueint4input1
 varchar40input0