|
Posted by Erland Sommarskog on 11/21/05 23:47
Scarab (pest9998@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, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|