Home > database >  Stored procedure is invoked, BCP can't execute completely
Stored procedure is invoked, BCP can't execute completely

Time:12-01

Is essentially a stored procedure, realized using BCP to CSV files in batch write to essentially,
I through odbc call a stored procedure in c + +, in the CSV file is small, written to success;
But the file data, after the success of the execution, to check the database, the table is empty, in addition, if I were in SQLExecDirect () behind
Short stop, table can be successfully written,
Want to ask, will BCP is stop execution in connection is broken, and how to solve my problems;
Thank you ~ ~ ~ ~
  • Related