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

Igor Korot <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CA+FnnTxkXZOd-90-yrL22-kA0GgPFmPY96fZSUjY3ad9G2uaXg@mail.gmail.com>
Hi, John,

On Wed, May 4, 2016 at 1:46 PM, John Kendall <[email protected]> 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
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.