FUNCTION  fHoleType

Return the HoleType value, indexed by name

the HoleTypes can be found with
Select * from HoleType
Sample call to fHoleType.
select top 10 *
from HoleObj
where holeType = dbo.fHoleType('OBJECT')

see also fHoleTypeN

Input and output parameters

nametypelengthinoutpnum
 int4input0
@namevarchar40input1