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.

Return Values<br />

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

SQLSTATE Values<br />

The following table describes the SQLSTATE values.<br />

SQLSTAT<br />

E Description<br />

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

Return Value Description<br />

0 SQL.SUCCESS<br />

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

–1 SQL.ERROR<br />

–2 SQL.INVALID.HANDLE<br />

SQLTables Return Values<br />

S1000 General error for which no specific SQLSTATE code has been defined.<br />

S1001 Memory allocation failure.<br />

S1008 Cancelled. Execution of the statement was stopped by an SQLCancel call.<br />

S1010 Function sequence error. The statement.env specified is currently executing<br />

an SQL statement.<br />

S1C00 The table owner field was not numeric.<br />

24000 Invalid cursor state. Results are still pending from the previous SQL<br />

statement. Use SQLCancel to clear the results.<br />

42000 Syntax error or access violation. This can be caused by a variety of reasons.<br />

The native error code returned by the SQLError call indicates the specific<br />

error that occurred.<br />

SQLSTATE Values

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

Saved successfully!

Ooh no, something went wrong!