Notebook
SELECT objID, dbo.fPhotoFlagsN(flags) FROM SpecPhoto WHERE objID= "1237662640123281773"
Select * from PhotoFlags