Skip to Content.
Sympa Menu

freetds - Re: [freetds] freebcp in -n native switch not working with Sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Igor Korot <ikorot01 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] freebcp in -n native switch not working with Sybase
  • Date: Wed, 4 May 2016 14:28:21 -0400

Hi, John,

On Wed, May 4, 2016 at 1:46 PM, John Kendall <john AT capps.com> wrote:
> On MS SQL Server this works:
>
> select col1="one", col2="2" into tempdb..tbl
>
> freebcp tempdb..tbl out tbl.bcp -n -Uusr -Ppw
> freebcp tempdb..tbl in tbl.bcp -n -Uusr -Ppw
>
> On Sybase the bcp in fails like so:
>
> Starting copy...
>
> Msg 20104, Level 3
> Unexpected EOF encountered in bcp datafile
>
> bcp copy in failed
>
>
> Notes:
> The bcp file created is identical for on both server flavors.
> Using the character -c option works.
>
> Anyone else able to reproduce this problem?

Which version of the servers you use?

Thank you.

>
>
> John
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page