FUNCTION  fSpecialTarget1

Returns the SpecialTarget1 value corresponding to a name

the spectro specialTarget1 flags can be shown with Select * from SpecialTarget1
Sample call to find spec objects that are low-redshift galaxy special primary targets
select top 10 *
from specObj
where specialTarget1 & dbo.fSpecialTarget1('LOWZ_GALAXY') > 0

see also fSecTarget

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1