FUNCTION  fFirstFieldBit

Returns the bit that indicates whether an objID is in the first field of a segment

This bit can be added to an objID created with fObjidFromSDSS to create the correct objID for the case where a PhotoObj is in the first field of a segment.
select dbo.fObjidFromSDSS(0,752,8,6,100,300) + dbo.fFirstFieldBit()

Input and output parameters