11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EDADRV_Perform<br />

Syntax<br />

RETCODE EDADRV_Perform(connhdl,stmt,numrows,result)<br />

Description<br />

The EDADRV_Perform function combines the processing of the<br />

EDADRV_PrepareStmt and the EDADRV_Execute functions, and if the statement is<br />

a query, it also fetches the entire result set as in EDADRV_FetchStmt. See the above<br />

functions for a description of the processing performed by the EDADRV_Perform<br />

function. The driver designer may choose to either Prepare and Execute or Execute<br />

Direct on the external database side.<br />

Input Variables<br />

The following table describes the input variables.<br />

Type Variable Description<br />

EDA_T_CONN_HDL connhdl The connection handle.<br />

EDA_T_STMT stmt The statement content.<br />

EDADRV_Perform Input Variables<br />

Output Variables<br />

The following table describes the output variables.<br />

Type Variable Descripton<br />

int * numrows The number of rows retrieved or affected.<br />

EDA_T_RESULT * result The result string.<br />

EDADRV_Perform Output Parameters<br />

EDADRV_Perform 1-245

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!