Sequenced messages

Client-Library handles large messages using a series of calls to the callback message handler routine. A status bitmask in the message information structure indicates whether the message text is an entire message or the first, middle, or last chunk of a sequenced message. Most server messages are small enough to be handled with one invocation of the message callback. The exception is user-defined messages raised with the Transact-SQL raiserror or print commands. These can be longer than the 1024-byte text field in CS_SERVERMSG.

Unlike Client-Library, which puts a message in a fixed-length buffer DB-Library provides a pointer to the message.