| 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 |
| name | type | length | inout | pnum |
| @value | int | 4 | input | 1 |
| varchar | 40 | input | 0 |