Specifies the current address for a column's data.
int srv_setcoldata (
SRV_PROC * srvproc,
int column,
void * data );
where
SUCCEED or FAIL.
Each column of the row must be defined first with srv_describe. Column data addresses are initially set with srv_describe. If the address of the column data changes, srv_setcoldata must be called to specify the new address of the data and srv_setcoldata must be called separately for each changed
column.
Null data is represented by setting the column's length to 0 with srv_setcollen, then the data address is ignored.
This entry | For information about |
---|---|
srv_describe | Describing a result row column |
srv_setcollen | Specifying the current length of a column's data |