Nulls

Nulls appear in the flattened rowset in two different situations:

When a consumer calls IRowset::GetData, DBSTATUS_ISNULL is returned. DBSTATUS_ISNULL is one of the status codes defined in OLE DB. An application allocates a buffer, and for each column it wants, it has space to hold:

DBSTATUS_ISNULL is written into the STATUS part of the consumer’s buffer. When this status occurs, the VALUE part is meaningless.