FUNCTION  fPhotoTypeN

Returns the PhotoType name, indexed by value (3-> Galaxy, 6-> Star,...)

the PhotoType values can be found with
Select * from PhotoType
Sample call to fPhotoTypeN.
select top 10 objID, dbo.fPhotoTypeN(type) as type
from photoObj

see also fPhotoType

Input and output parameters

nametypelengthinoutpnum
@valueint4input1
 varchar40output0