Expand description
SQL batch request encoding.
This module provides encoding for SQL batch requests (packet type 0x01). Per MS-TDS spec, a SQL batch contains:
- ALL_HEADERS section (required for TDS 7.2+)
- SQL text encoded as UTF-16LE
Structs§
- SqlBatch
- SQL batch builder for more complex batches.
Functions§
- encode_
sql_ batch - Encode a SQL batch request with auto-commit (no explicit transaction).
- encode_
sql_ batch_ with_ transaction - Encode a SQL batch request with a transaction descriptor.