FUNCTION  fFirstFieldBit

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

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 run.
select dbo.fObjidFromSDSS(0,752,8,6,100,300) + dbo.fFirstFieldBit()

Input and output parameters

nametypelengthinoutpnum
 bigint8input0