FUNCTION  fSegue2Target1

Returns the Segue2Target1 value corresponding to a name

the spectro Segue2Target1 flags can be shown with Select * from Segue2Target1
Sample call to find spec objects that are red K-giant star SEGUE-2 primary targets
select top 10 *
from specObj
where Segue2Target1 & dbo.fSegue2Target1('SEGUE2_REDKG') > 0

see also fSecTarget

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1