Functions | |
DBBOOL | dbhasretstat (DBPROCESS *dbproc) |
Determine if query generated a return status number. | |
int | dbnumrets (DBPROCESS *dbproc) |
Get count of output parameters filled by a stored procedure. | |
BYTE * | dbretdata (DBPROCESS *dbproc, int retnum) |
Get value of an output parameter filled by a stored procedure. | |
int | dbretlen (DBPROCESS *dbproc, int retnum) |
Get size of an output parameter filled by a stored procedure. | |
char * | dbretname (DBPROCESS *dbproc, int retnum) |
Get name of an output parameter filled by a stored procedure. | |
DBINT | dbretstatus (DBPROCESS *dbproc) |
Fetch status value returned by query or remote procedure call. | |
int | dbrettype (DBPROCESS *dbproc, int retnum) |
Get datatype of a stored procedure's return parameter. | |
RETCODE | dbrpcinit (DBPROCESS *dbproc, char *rpcname, DBSMALLINT options) |
Initialize a remote procedure call. | |
RETCODE | dbrpcparam (DBPROCESS *dbproc, char *paramname, BYTE status, int type, DBINT maxlen, DBINT datalen, BYTE *value) |
Add a parameter to a remote procedure call. | |
RETCODE | dbrpcsend (DBPROCESS *dbproc) |
Execute the procedure and free associated memory. |
Especially useful for OUTPUT parameters, because modern Microsoft servers do not return output parameter data to the client unless the procedure was invoked with dbrpcsend().
|
Determine if query generated a return status number.
|
|
Get count of output parameters filled by a stored procedure.
|
|
Get value of an output parameter filled by a stored procedure.
|
|
Get size of an output parameter filled by a stored procedure.
|
|
Get name of an output parameter filled by a stored procedure.
|
|
Fetch status value returned by query or remote procedure call.
|
|
Get datatype of a stored procedure's return parameter.
|
|
Initialize a remote procedure call.
|
|
Add a parameter to a remote procedure call. Call between dbrpcinit() and dbrpcsend()
|
|
Execute the procedure and free associated memory.
|