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.

SQLExecute tells the data source to execute a prepared SQL statement or a called<br />

procedure, using the current values of any parameter markers used in the statement.<br />

Using SQLExecute with an SQLBindParameter call is the most efficient way to<br />

execute a statement repeatedly, since the statement does not have to be parsed by the<br />

data source each time it is issued.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

Return Values<br />

The following table describes the return values of the SQLExecute function.<br />

1-814 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

statement.env SQL statement environment associated with a prepared SQL statement.<br />

SQLExecute Parameter<br />

Return Value Description<br />

0 SQL.SUCCESS<br />

1 SQL.SUCCESS.WITH.INFO<br />

−1 SQL.ERROR<br />

−2 SQL.INVALID.HANDLE<br />

SQLExecute Return Values

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

Saved successfully!

Ooh no, something went wrong!