2.2.4.2.1.2 Fixed Length Token(xx11xxxx)

This class of token is followed by 1, 2, 4, or 8 bytes of data. No length specification follows this token because the length of its associated data is encoded in the token itself. The different fixed data-length token definitions take the form of one of the following bit sequences, depending on whether the token is followed by 1, 2, 4, or 8 bytes of data. Also in the table, a value of “0 or 1” denotes a bit position that can contain the bit value “0” or “1”.

0

1

2

3

4

5

6

7

Description

0 or 1

0 or 1

1

1

0

0

0 or 1

0 or 1

Token is followed by 1 byte of data.

0 or 1

0 or 1

1

1

0

1

0 or 1

0 or 1

Token is followed by 2 bytes of data.

0 or 1

0 or 1

1

1

1

0

0 or 1

0 or 1

Token is followed by 4 bytes of data.

0 or 1

0 or 1

1

1

1

1

0 or 1

0 or 1

Token is followed by 8 bytes of data.

Fixed-length tokens are used by the following data types: bigint, int, smallint, tinyint, float, real, money, smallmoney, datetime, smalldatetime, and bit. The type definition is always represented in COLMETADATA and ALTMETADATA data streams as a single byte Type. Additional details are specified in section 2.2.5.4.2.