FUNCTION  fPhotoStatus

Returns the PhotoStatus flag value corresponding to a name

the photoStatus values can be shown with Select * from PhotoStatus
Sample call to find 'good' photo objects is
select top 10 *
from photoObj
where status & dbo.fPhotoStatus('GOOD') > 0

see also fPhotoStatusN

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1