Re: bcp/datacopy bit columns TDS 5.0

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4dQUeedo6fACNDSiGsTUmpM7Jb08pTktcdWVVR84KdT5A@mail.gmail.com>
2014-05-17 1:42 GMT+01:00 James K. Lowden <[email protected]>:
> On Fri, 9 May 2014 19:58:43 +0000
> John Kendall <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.