FUNCTION  fImageStatusN

Return the expanded ImageStatus corresponding to the flag value as a string

the ImageStatus values can be shown with Select * from ImageStatus
Sample call to fImageStatusN
select top 10 objID, dbo.fImageStatus(mask) as mask
from ?????

see also fImageStatus

Input and output parameters

nametypelengthinoutpnum
@valueint4input1
 varchar1000input0