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.

Parameters<br />

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

Parameter Description<br />

statement.env SQL statement environment of the executed SQL statement.<br />

col# Column number to describe, starting with 1.<br />

col.attribute Attribute of the column that needs information. col.attribute values<br />

are listed under “Description” in this section. These values are<br />

defined in the ODBC.H file.<br />

text.var Contains column information for attributes returning text data. If the<br />

return value is numeric, text.var contains invalid information.<br />

num.var Contains column information for attributes returning numeric data. If<br />

the return value is text, num.var contains invalid information.<br />

SQLColAttributes Parameters<br />

The following table lists the column attributes you can use with ODBC databases.<br />

Column Attribute Output Description<br />

SQL.COLUMN.AUTO.INCREMENT num.var 1 – TRUE if the column values<br />

are incremented automatically.<br />

0 – FALSE if the column values<br />

are not incremented<br />

automatically.<br />

SQL.COLUMN.CASE.SENSITIVE num.var 1 – TRUE for character data.<br />

0 – FALSE for all other data.<br />

SQL.COLUMN.COUNT num.var Number of columns in result set.<br />

The col# argument must be a<br />

valid column number in the result<br />

set.<br />

SQL.COLUMN.DISPLAY.SIZE num.var Maximum number of characters<br />

required to display data from the<br />

column.<br />

SQL.COLUMN.LABEL text.var<br />

Column Attributes<br />

Column heading.<br />

SQLColAttributes 1-795

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

Saved successfully!

Ooh no, something went wrong!