2.2.7.20 ROW

Token Stream Name:

 ROW

Token Stream Function:

Used to send a complete row, as defined by the COLMETADATA token (section 2.2.7.4), to the client.

Token Stream Comments:

  • The token value is 0xD1.

Token Stream-Specific Rules:

 TokenType        =   BYTE
  
 TextPointer      =   B_VARBYTE
 Timestamp        =   8BYTE
 Data             =   TYPE_VARBYTE
  
 ColumnData       =   [TextPointer Timestamp]
                      Data
  
 AllColumnData    =   *ColumnData

The ColumnData element is repeated once for each column of data.

TextPointer and Timestamp MUST NOT be specified if the instance of type text/ntext/image is a NULL instance (GEN_NULL).

Token Stream Definition:

 ROW              =   TokenType
                      AllColumnData

Token Stream Parameter Details:

 Parameter

 Description

TokenType

ROW_TOKEN

TextPointer

The length of the text pointer and the text pointer for data.

Timestamp

The time stamp of a text/image column. This is not present if the value of data is CHARBIN_NULL or GEN_NULL.

Data

The actual data for the column. The TYPE_INFO information describing the data type of this data is given in the preceding COLMETADATA_TOKEN, ALTMETADATA_TOKEN or OFFSET_TOKEN.