2.1.5 CLRUDT

The CLRUDT data type defines a set of custom user-defined types, such as the hierarchyID and Spatial data types.<2> For more information about the hierarchyID data type, see [MSDN-hierarchyid]. For more information about the Spatial data type, see [MSDN-WSDDE].

The values of the CLRUDT data types are treated as VarBinary values. The values of the CLRUDT data type are represented in hexadecimal-encoded Unicode string format, as follows. 

  
 CLRUDT = 0*nOCTET

In this format, n = 4 x (2,147,483,647). The representation does not require the 0x prefix.