FUNCTION  fFramesStatus

Returns the FramesStatus value, indexed by name

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

see also fFramesStatusN

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1