sqlany_get_data( a_sqlany_stmt *, sacapi_u32 , size_t, void *, size_t) method

Retrieves the data fetched for the specified column into the supplied buffer memory.

Syntax

public sacapi_i32 sqlany_get_data ( a_sqlany_stmt * sqlany_stmt, sacapi_u32 col_index, size_t offset, void * buffer, size_t size)

Parameters

Returns

The number of bytes successfully copied into the supplied buffer. This number must not exceed 2^31 - 1. 0 indicates that no data remains to be copied. -1 indicates a failure.