[freetds] bcp/datacopy bit columns TDS 5.0

Frediano Ziglio freddy77 at gmail.com
Sat May 17 11:48:44 EDT 2014


2014-05-17 1:42 GMT+01:00 James K. Lowden <jklowden at freetds.org>:
> On Fri, 9 May 2014 19:58:43 +0000
> John Kendall <john at capps.com> wrote:
>
>> I'm using Sybase (TDS 5) and am running into a problem using datacopy
>> (from 0.91) when a table has more than one bit column.
> ...
>> SRV/usr/pw/tempdb/bob2 Msg 4837, Level 16, State 2
>>           Server 'SRV', Line 1
>>                   Bad row data received from the client while bulk
>> copying into object 1328007762 in database 2. Received a row of
>> length 4 while maximum possible row length is 3.
> ...
>>    "bcp currently broken for BIT type in TDS 5.0"
>>    http://lists.ibiblio.org/pipermail/freetds/2006q4/020788.html
>
> I know the topic the moment I read the title.  I still remember
> researching that problem.  It's never been fixed, of that I'm sure.
>
> At least you know where you stand.  :-/
>
> --jkl


Till now! Added some tests and fixed, both master and 0.91.

Still broken (master) for DATETIME2 and related.

Frediano


More information about the FreeTDS mailing list