11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Return Values<br />

The following table describes the returns values of the SQLColumns function.<br />

SQLSTATE Values<br />

The following table shows all possible SQLSTATE values returned by<br />

SQLColumns.<br />

SQLSTAT<br />

E Description<br />

1-800 <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 />

SQLColumns 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 />

UniData error that occurred.<br />

SQLSTATE Values

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

Saved successfully!

Ooh no, something went wrong!