FUNCTION  fPhotoDescription

Returns a string indicating Object type and object flags

 select top 10 dbo.fPhotoDescription(objID) from PhotoObj 

Input and output parameters

nametypelengthinoutpnum
@ObjectIDbigint8input1
 varchar1000input0