freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Thompson, William" <bill.d.thompson AT baml.com>
- To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] bcp problems
- Date: Wed, 22 Jun 2011 13:30:16 +0100
Hi Panos,
I think I've found it. I'll get back to you
Bill
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Panos Stavroulis
Sent: 22 June 2011 12:40
To: FreeTDS Development Group
Subject: Re: [freetds] bcp problems
Hi Bill,
I made a mistake and was printing not the correct character. See below... The
terminator is fine. I can't actually paste it in the emai so replaced it
with blank, but the terminator field is consistent all the way to the column
where it fails.
Any other ideas?
Thank you.
Panos
bcp.c:3521:bufpos = 0 , value =>V<
bcp.c:3521:bufpos = 1 , value =>D<
bcp.c:3521:bufpos = 2 , value =>A<
bcp.c:3521:bufpos = 3 , value =>C<
bcp.c:3463:_bcp_get_col_data bytes_read: 4, terminator> <
bcp.c:3469:_bcp_get_col_data collen: -1,
dblib.c:2144:dbconvert(45c80, SYBCHAR, fd2a4fd9, -1, SYBCHAR, 589c40, 4)
dblib.c:2177:dbconvert() srctype == desttype
bcp.c:3220:parsed column 5, length 4 (not null)
bcp.c:3286:new_record_size = 19 datalen = 4
bcp.c:3310:old_record_size = 205 new size = 23
bcp.c:3404:_bcp_get_col_data(45c80, 5861e0)
bcp.c:3521:bufpos = 0 , value =>G<
bcp.c:3521:bufpos = 1 , value =>B<
bcp.c:3521:bufpos = 2 , value =>P<
bcp.c:3463:_bcp_get_col_data bytes_read: 3, terminator> <
bcp.c:3469:_bcp_get_col_data collen: -1,
dblib.c:2144:dbconvert(45c80, SYBCHAR, fd2a4fde, -1, SYBCHAR, 589c50, 3)
dblib.c:2177:dbconvert() srctype == desttype
bcp.c:3220:parsed column 6, length 3 (not null)
bcp.c:3286:new_record_size = 25 datalen = 3
bcp.c:3310:old_record_size = 205 new size = 28
bcp.c:3404:_bcp_get_col_data(45c80, 586658)
bcp.c:3521:bufpos = 0 , value =>2<
bcp.c:3521:bufpos = 1 , value =>1<
bcp.c:3521:bufpos = 2 , value =>1<
bcp.c:3521:bufpos = 3 , value =>0<
bcp.c:3521:bufpos = 4 , value =>0<
bcp.c:3521:bufpos = 5 , value =>0<
bcp.c:3463:_bcp_get_col_data bytes_read: 6, terminator> <
bcp.c:3469:_bcp_get_col_data collen: -1,
dblib.c:2144:dbconvert(45c80, SYBCHAR, fd2a4fe2, -1, SYBCHAR, 4a870, 16)
dblib.c:2177:dbconvert() srctype == desttype
bcp.c:3220:parsed column 7, length 6 (not null)
bcp.c:3286:new_record_size = 30 datalen = 6
bcp.c:3310:old_record_size = 205 new size = 36
bcp.c:3404:_bcp_get_col_data(45c80, 586ad0)
bcp.c:3521:bufpos = 0 , value =>B<
bcp.c:3521:bufpos = 1 , value =>O<
bcp.c:3521:bufpos = 2 , value =>O<
bcp.c:3521:bufpos = 3 , value =>K<
bcp.c:3521:bufpos = 4 , value =>1<
bcp.c:3463:_bcp_get_col_data bytes_read: 5, terminator>--- On Wed, 22/6/11,
Thompson, William <bill.d.thompson AT baml.com> wrote:
> From: Thompson, William <bill.d.thompson AT baml.com>
> Subject: Re: [freetds] bcp problems
> To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
> Date: Wednesday, 22 June, 2011, 11:25
> Hi Panos,
>
> remember me asking if you were using a terminator other
> than "\0" ?
>
> > bcp.c:3463:_bcp_get_col_data bytes_read: 0,
> terminator>à<
>
> Now we just have to figure out how that terminator got in
> there.
>
> Bill
>
> ----------------------------------------------------------------------
> This message w/attachments (message) is intended solely for
> the use of the intended recipient(s) and may contain
> information that is privileged, confidential or proprietary.
> If you are not an intended recipient, please notify the
> sender, and then please delete and destroy all copies and
> attachments, and be advised that any review or dissemination
> of, or the taking of any action in reliance on, the
> information contained in or attached to this message is
> prohibited.
> Unless specifically indicated, this message is not an offer
> to sell or a solicitation of any investment products or
> other financial product or service, an official confirmation
> of any transaction, or an official statement of Sender.
> Subject to applicable law, Sender may intercept, monitor,
> review and retain e-communications (EC) traveling through
> its networks/systems and may produce any such EC to
> regulators, law enforcement, in litigation and as required
> by law.
> The laws of the country of each sender/recipient may impact
> the handling of EC, and EC may be archived, supervised and
> produced in countries other than the country in which you
> are located. This message cannot be guaranteed to be secure
> or free of errors or viruses.
>
> References to "Sender" are references to any subsidiary of
> Bank of America Corporation. Securities and Insurance
> Products: * Are Not FDIC Insured * Are Not Bank Guaranteed *
> May Lose Value * Are Not a Bank Deposit * Are Not a
> Condition to Any Banking Service or Activity * Are Not
> Insured by Any Federal Government Agency. Attachments that
> are part of this EC may have additional important
> disclosures and disclaimers, which you should read. This
> message is subject to terms available at the following link:
>
> http://www.bankofamerica.com/emaildisclaimer. By
> messaging with Sender you consent to the foregoing.
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the
intended recipient(s) and may contain information that is privileged,
confidential or proprietary. If you are not an intended recipient, please
notify the sender, and then please delete and destroy all copies and
attachments, and be advised that any review or dissemination of, or the
taking of any action in reliance on, the information contained in or attached
to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a
solicitation of any investment products or other financial product or
service, an official confirmation of any transaction, or an official
statement of Sender. Subject to applicable law, Sender may intercept,
monitor, review and retain e-communications (EC) traveling through its
networks/systems and may produce any such EC to regulators, law enforcement,
in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of
EC, and EC may be archived, supervised and produced in countries other than
the country in which you are located. This message cannot be guaranteed to be
secure or free of errors or viruses.
References to "Sender" are references to any subsidiary of Bank of America
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal
Government Agency. Attachments that are part of this EC may have additional
important disclosures and disclaimers, which you should read. This message is
subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you
consent to the foregoing.
-
[freetds] bcp problems,
Panos Stavroulis, 06/15/2011
-
Re: [freetds] [Warning: Retiring Address: thompbil AT exchange.uk.ml.com] bcp problems,
Thompson, William, 06/15/2011
- Re: [freetds] [Warning: Retiring Address: thompbil AT exchange.uk.ml.com] bcp problems, Frediano Ziglio, 06/16/2011
-
Re: [freetds] bcp problems,
Thompson, William, 06/16/2011
-
Re: [freetds] bcp problems,
Panos Stavroulis, 06/17/2011
-
Re: [freetds] bcp problems,
Panos Stavroulis, 06/22/2011
-
Re: [freetds] bcp problems,
Thompson, William, 06/22/2011
-
Re: [freetds] bcp problems,
Panos Stavroulis, 06/22/2011
- Re: [freetds] bcp problems, Thompson, William, 06/22/2011
-
Re: [freetds] bcp problems,
Thompson, William, 06/22/2011
- Re: [freetds] bcp problems, Panos Stavroulis, 06/22/2011
- Re: [freetds] bcp problems, Thompson, William, 06/22/2011
- Re: [freetds] bcp problems, Panos Stavroulis, 06/24/2011
- Re: [freetds] bcp problems, Thompson, William, 06/24/2011
- Re: [freetds] bcp problems, Panos Stavroulis, 06/28/2011
- Re: [freetds] bcp problems, Panos Stavroulis, 06/28/2011
-
Re: [freetds] bcp problems,
Panos Stavroulis, 06/22/2011
-
Re: [freetds] bcp problems,
Thompson, William, 06/22/2011
-
Re: [freetds] bcp problems,
Panos Stavroulis, 06/22/2011
-
Re: [freetds] bcp problems,
Panos Stavroulis, 06/17/2011
-
Re: [freetds] [Warning: Retiring Address: thompbil AT exchange.uk.ml.com] bcp problems,
Thompson, William, 06/15/2011
Archive powered by MHonArc 2.6.24.