freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] freebcp row termination not working on freebcpinto MSSQL
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] freebcp row termination not working on freebcpinto MSSQL
- Date: Wed, 2 Nov 2005 13:28:47 -0500
> From: bpollard AT micron.com
> Sent: Wednesday, November 02, 2005 12:03 PM
>
> $ od -c test2.out 0000000 9 \t 9 \n 8 \t 8 \n 7 \t
> 7 \n 0000014
>
> $ /mu/sdk/freetds/prod/bin/freebcp temp_bcp..test in
/var/tmp/test2.out
> -c -U$my_user -P$my_pwd -SBOMSSDEVL1>
>
> Starting copy...
>
> Msg 4803, Level 16, State 1 Server 'NTSQL12\BOMSSDEVL19', Line 1
> Received invalid row length 512 from bcp client. Maximum row
> size is 51. Msg 20018, Level 5 General SQL Server error: Check
> messages from the SQL Server.
>
> bcp copy in failed
$ cat > bpollard
9 9
8 8
7 7
$ freebcp testdb..bpollard in bpollard -c -S$S -U$U -P$P
Starting copy...
3 rows copied.
$ freebcp -v
freebcp version $Id: freebcp.c,v 1.34.2.1 2005/02/03 09:39:14 freddy77
Exp $
$ # cvs version of defcopy shows table DDL
$ /usr/local/bin/defncopy -D testdb -S$S -U$U -P$P
'AC\lowdenjk.bpollard'
USE testdb
GO
CREATE TABLE AC\lowdenjk.bpollard
( a int NOT NULL
, b int NOT NULL
)
GO
I can't explain what you're seeing. :-(
Want to attach a TDSDUMP log?
--jkl
-----------------------------------------
The information contained in this transmission may be privileged and
confidential and is intended only for the use of the person(s) named
above. If you are not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, any review,
dissemination,
distribution or duplication of this communication is strictly prohibited. If
you are
not the intended recipient, please contact the sender immediately by reply
and destroy all copies of the original message. Please note that we do not
accept
account orders and/or instructions by e-mail, and therefore will not be
responsible
for carrying out such orders and/or instructions. If you, as the intended
recipient
of this message, the purpose of which is to inform and update our clients,
prospects
and consultants of developments relating to our services and products, would
not
like to receive further e-mail correspondence from the sender, please "reply"
to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New
York,
NY 10105.
-
Re: [freetds] freebcp row termination not working on freebcpinto MSSQL,
Thompson, Bill D (London), 11/02/2005
- <Possible follow-up(s)>
- Re: [freetds] freebcp row termination not working on freebcpinto MSSQL, Lowden, James K, 11/02/2005
Archive powered by MHonArc 2.6.24.