FUNCTION  fTiMaskN

Returns the expanded TiMask corresponding to the flag value as a string

the TiMask values can be found with
Select * from TiMask
Sample call to fTiMaskN.
select top 10 dbo.fTiMaskN(tiMask) as tiMask
from TilingInfo

see also fTiMask

Input and output parameters

nametypelengthinoutpnum
@valueint4input1
 varchar1000input0