FUNCTION  fPspStatus

Returns the PspStatus value, indexed by name

the PspStatus values can be found with
Select * from PspStatus
Sample call to fPspStatus.
select top 10 *
from field
where status_r = dbo.fPspStatus('PSF_OK')

see also fPspStatusN

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1