FUNCTION  fFieldMask

Returns mask value for a given name (e.g. 'seeing')

the FieldMask values can be found with Select * from FieldMask.
Sample call to find fields with good seeing.
select top 10 *
from field
where goodMask & dbo.fFieldMask('Seeing') > 0

see also fFieldMaskN

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1