bcp_colptr

Description

Set the program variable data address for the current bulk copy into the database.

Syntax

RETCODE bcp_colptr(dbproc, colptr, table_column)
 
DBPROCESS     *dbproc;
BYTE                  *colptr;
int                         table_column;

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.

colptr

The address of the program variable.

table_column

The column in the Adaptive Server table to which the data will be copied. Column numbers start at 1.

Returns

SUCCEED or FAIL.

Usage

See also

bcp_bind, bcp_collen, bcp_sendrow