Re: bulk copy API

[email protected]
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
So, if I understand correctly, I'll have to open a separate connection 
via dblib's dbopen() to use bcp API.

Are there any plans to move bcp support to ODBC? Microsoft's 2008 SQL 
Server is the last one which supports dblib connections.

Regards,
Mike

----- Message from [email protected] ---------
    Date: Wed, 7 Apr 2010 10:28:16 +0200
    From: Frediano Ziglio <[email protected]>
Reply-To: FreeTDS Development Group <[email protected]>
Subject: Re: [freetds] bulk copy API
      To: FreeTDS Development Group <[email protected]>


> Currently FreeTDS support BCP APIs (bcp_init, bcp_exec and so on) only
> under dblib. Under Windows you are using BCP APIs under ODBC (which
> accept ODBC connection instead of DBPROCESS).
>
> bye
>  freddy77
>
>
> 2010/4/6  <[email protected]>:
>> Hello,
>> Is there any way to use bulk copy API (bcp_init, bcp_exec, etc.) within
>> the ODBC application?
>>
>> On Windows I can easily do that since bcp_init() accepts an ODBC
>> connection handle as its first argument, but bcp_init() from FreeTDS
>> library accepts DBPROCESS pointer instead. So I cannot just pass
>> connection handle the same way I can do on Windows.
>>
>> Mike
>> _______________________________________________
>> FreeTDS mailing list
>> [email protected]
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>


----- End message from [email protected] -----
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.