[freetds] bcp broken on TDS 5.0

Michael Peppler mpeppler at peppler.org
Fri Apr 23 07:15:13 EDT 2004


On Fri, 2004-04-23 at 04:14, James K. Lowden wrote:
> I'm connected to:
> 
> Adaptive Server Enterprise/12.5.1/EBF 11429/P/Linux Intel/Enterprise
> Linux/ase1251/1823/32-bit/OPT/Tue Sep 16 23:43:54 2003
> 
> And it doesn't look good for the unit test:
> 
> $ ./bcp
> found alex.FreeTDS for jklowden in "../../../PWD"
> Start
> About to logon
> About to open alex.FreeTDS
> Dropping alex.FreeTDS..all_types_bcp_unittest
> Creating alex.FreeTDS..all_types_bcp_unittest
> preparing to insert into FreeTDS..all_types_bcp_unittest ... OK
> Sending same row 10 times... 
> Msg 4837, Level 16, State 5
> Server 'test', Line 1
> Bad row data received from the client while bulk copying into object
> 32000114 in database 4. Received a row of length 85 whilst maximum or
> expected row length is 24950.

You may want to run this through ribo, and run a native bcp through
ribo, and compare the two.

> "whilst"?  Never let it be said Sybase wasn't written by geeks.  Sixteenth
> century geeks at that.  

:-)

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler at peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html




More information about the FreeTDS mailing list