FUNCTION  fCalibStatus

Returns the CalibStatus flag value corresponding to a name

The CalibStatus values can be shown with Select * from CalibStatus
Sample call to find photometric objects is
select top 10 modelMag_r
from PhotoObj
where
(calibStatus_r & dbo.fCalibStatus('PHOTOMETRIC') > 0)
see also fCalibStatusN

Input and output parameters

nametypelengthinoutpnum
@namevarchar40input1
 int4output0