2.2.7.16 ORDER

Token Stream Name:

 ORDER

Token Stream Function:

Used to inform the client by which columns the data is ordered.

Token Stream Comments

  • The token value is 0xA9.

  • This token is sent only in the event that an ORDER BY clause is executed.

Token Stream-Specific Rules:

 TokenType        =   BYTE
 Length           =   USHORT
 ColNum           =   *USHORT

The ColNum element is repeated once for each column within the ORDER BY clause.

Token Stream Definition:

 ORDER            =   TokenType
                      Length
                      ColNum

Token Stream Parameter Details

 Parameter

 Description

TokenType

ORDER_TOKEN

Length

The total length of the ORDER data stream.

ColNum

The column number in the result set.

Show: