Prepend TDS 8.0 ALL_HEADERS to an already-encoded SQL_BATCH body.
(self, sql_text)
| 2651 | return all_headers |
| 2652 | |
| 2653 | def _wrap_sql_batch_data(self, sql_text): |
| 2654 | """Prepend TDS 8.0 ALL_HEADERS to an already-encoded SQL_BATCH body.""" |
| 2655 | if self.tds8: |
| 2656 | return self._build_tds8_sql_batch_headers() + sql_text |
| 2657 | return sql_text |
| 2658 | |
| 2659 | def _build_batch_data(self, cmd): |
| 2660 | """Build SQL_BATCH packet data, prepending ALL_HEADERS for TDS 8.0.""" |