bcp_batch

Description

Save any preceding rows in Adaptive Server.

Syntax

DBINT bcp_batch(dbproc)
 
DBPROCESS    *dbproc;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/Adaptive Server process. It contains all the information that DB-Library uses to manage communications and data between the front end and Adaptive Server.

Returns

The number of rows saved since the last call to bcp_batch, or -1 in case of error.

Usage

See also

bcp_bind, bcp_done, bcp_sendrow