title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | apilocation | apiname | apitype | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
bcp_done |
bcp_done |
markingmyname |
maghan |
03/14/2017 |
sql |
native-client |
reference |
|
sqlncli11.dll |
bcp_done |
DLLExport |
[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]
Ends a bulk copy from program variables to [!INCLUDEssNoVersion] performed with bcp_sendrow.
DBINT bcp_done (
HDBC hdbc);
hdbc
Is the bulk copy-enabled ODBC connection handle.
The number of rows permanently saved after the last call to bcp_batch or -1 in case of error.
Call bcp_done after the last call to bcp_sendrow or bcp_moretext. Failure to call bcp_done after copying all data results in errors.