denisenkom / pytds

Python DBAPI driver for MSSQL using pure Python TDS (Tabular Data Stream) protocol implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bulk copy fails if destination column is a SQL keyword

LHCGreg opened this issue · comments

If a destination column in a bulk copy using copy_to is a SQL keyword such as User, the operation fails because the INSERT BULK statement becomes invalid.

I'll create a PR with a fix in a minute.