By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,462 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,462 IT Pros & Developers. It's quick & easy.

About bcp_init

P: n/a
Hi All,
When I use bcp APIs to import data into sqlserver database, after batch rows
to the tableA, I want to import data into tableB, so I invoke bcp_init again
to init tableB, but it can't success. unless I re-connect database and then
do bcp_init.
But re-connect db will waste some time. My question is why it can't be
success while do bcp_init?
Thanks
Nov 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Scarab (pe******@hotmail.com) writes:
When I use bcp APIs to import data into sqlserver database, after batch
rows to the tableA, I want to import data into tableB, so I invoke
bcp_init again to init tableB, but it can't success. unless I re-connect
database and then do bcp_init.
But re-connect db will waste some time. My question is why it can't be
success while do bcp_init?


It should be. Could you post your code+

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.