다음을 통해 공유


bcp_done

Ends a bulk copy from program variables to SQL Server performed with bcp_sendrow.

구문

DBINT bcp_done (
    HDBC hdbc);

Arguments

  • hdbc
    Is the bulk copy-enabled ODBC connection handle.

Returns

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.

참고 항목

참조

Bulk Copy Functions

도움말 및 정보

SQL Server 2005 지원 받기