freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: mgrosman AT pathcom.com
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>, Frediano Ziglio <freddy77 AT gmail.com>
- Subject: Re: [freetds] bulk copy API
- Date: Wed, 07 Apr 2010 10:31:56 -0400
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 freddy77 AT gmail.com ---------
Date: Wed, 7 Apr 2010 10:28:16 +0200
From: Frediano Ziglio <freddy77 AT gmail.com>
Reply-To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
Subject: Re: [freetds] bulk copy API
To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
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 <mgrosman AT pathcom.com>:
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
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
----- End message from freddy77 AT gmail.com -----
-
[freetds] SQL_TXN_ISOLATION_OPTION,
mgrosman, 04/01/2010
- Re: [freetds] SQL_TXN_ISOLATION_OPTION, Frediano Ziglio, 04/01/2010
-
[freetds] SQL_ATTR_TRACE option doesn't work,
mgrosman, 04/01/2010
-
[freetds] bulk copy API,
mgrosman, 04/06/2010
-
Re: [freetds] bulk copy API,
Frediano Ziglio, 04/07/2010
-
Re: [freetds] bulk copy API,
mgrosman, 04/07/2010
-
Re: [freetds] bulk copy API,
jklowden, 04/07/2010
- Re: [freetds] bulk copy API, mgrosman, 04/07/2010
-
Re: [freetds] bulk copy API,
jklowden, 04/07/2010
-
Re: [freetds] bulk copy API,
mgrosman, 04/07/2010
-
Re: [freetds] bulk copy API,
Frediano Ziglio, 04/07/2010
-
Re: [freetds] SQL_ATTR_TRACE option doesn't work,
James K. Lowden, 04/07/2010
- Re: [freetds] SQL_ATTR_TRACE option doesn't work, Mikhail Grosman, 04/07/2010
-
[freetds] bulk copy API,
mgrosman, 04/06/2010
Archive powered by MHonArc 2.6.24.