prisma / tiberius

TDS 7.2+ (Microsoft SQL Server) driver for Rust
Apache License 2.0
325 stars 119 forks source link

Error on Bulk Inserting Large Varchar/NVarchar Columns #322

Open aersam opened 10 months ago

aersam commented 10 months ago

Bulk Inserting large text values seems to cause this:

Token error: 'Invalid column type from bcp client for colid 8.' on server MYSERVER executing on line 1 (code: 4816, state: 2, class: 16)

I used ColumnData::String as source and can reproduce it. By removing the large values, it works again