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.

Parameter Description<br />

tablename Name of the table.<br />

index.type One of the following:<br />

SQL.INDEX.UNIQUE<br />

SQL.INDEX.ALL<br />

Return Values<br />

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

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

accuracy The importance of the CARDINALITY and PAGES columns in the result<br />

set:<br />

SQL.ENSURE – The driver unconditionally gets the statistics.<br />

SQL.QUICK – The driver gets results only if they are readily available<br />

from the server. The driver does not ensure that the values are current.<br />

SQLStatistics Parameters<br />

Return Value Description<br />

0 SQL.SUCCESS<br />

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

−1 SQL.ERROR<br />

−2 SQL.INVALID.HANDLE<br />

SQLStatistics Return Values

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

Saved successfully!

Ooh no, something went wrong!