The CDC_REC_INSERT record
Provides the row that resulted from an INSERT operation.
- The common header.
- The record-specific header.
- Fields listing the size of each variable-length column in the row, if any.
- Column data for each fixed-length column, if any.
- Column data for each variable-length column, if any.
The value in the header size field in the common header represents the number of bytes occupied by the combination of the common header, the record-specific header, and the fields listing the size of variable-length columns.
The value in the payload size field in the common header represents the number of bytes of the column data for both fixed-length and variable length columns.
The record-specific header
The header specific to the CDC_REC_INSERT record follows the common header.Section | Size | Description |
---|---|---|
Sequence number | 8 bytes | The sequence number associated with the INSERT operation. |
Transaction ID | 4 bytes | The transaction ID. |
User data | 4 bytes | The table identifier passed to the cdc_startcapture() function and stored in the syscdtabs table. |
Flags | 4 bytes | Reserved. |