FUNCTION  fTiMask

Returns the TiMask value corresponding to a name

the TiMask values can be found with
Select * from TiMask
Sample call to fTiMask.
select top 10 *
from TilingInfo
where tiMask = dbo.fTiMask('AR_TMASK_TILED')

see also fTiMaskN

Input and output parameters

nametypelengthinoutpnum
@namevarchar40input1
 int4output0