Skip to Content.
Sympa Menu

freetds - Re: [freetds] bcp/datacopy bit columns TDS 5.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] bcp/datacopy bit columns TDS 5.0
  • Date: Sat, 17 May 2014 16:48:44 +0100

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"
>> https://lists.ibiblio.org/sympa/arc/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




Archive powered by MHonArc 2.6.24.

Top of Page