FUNCTION  fPrimTargetN

Returns the expanded PrimTarget corresponding to the flag value as a string

the photo and spectro primTarget flags can be shown with Select * from PrimTarget
Sample call to show the target flags of some photoObjects is
select top 10 objId, dbo.fPriTargetN(secTarget) as priTarget
from photoObj

see also fPrimTarget, fSecTargetN

Input and output parameters