FUNCTION  fSpecPixMask

Return the SpecPixMask value, indexed by name

the specPixMask values can be shown with Select * from SpecPixMask
Sample call to find spec objects that do not have any pixel with a bit set in its ANDMASK.
select top 10 *
from specObj
where anyAndMask = dbo.fSpecPixMask('OK')

see also fSpecPixMaskN

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1