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.

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

Column Attribute Output Description<br />

SQL.COLUMN.LENGTH num.var Number of bytes transferred by an<br />

SQLFetch call.<br />

SQL.COLUMN.NAME text.var Name of specified column.<br />

SQL.COLUMN.NULLABLE num.var Column can contain null values.<br />

Can return one of the following:<br />

0 – SQL.NO.NULLS<br />

1 – SQL.NULLABLE<br />

2 –<br />

SQL.NULLABLE.UNKNOWN<br />

SQL.COLUMN.PRECISION num.var Column precision.<br />

SQL.COLUMN.SCALE num.var Column scale.<br />

SQL.COLUMN.SEARCHABLE num.var Always returns 3,<br />

SQL.SEARCHABLE.<br />

SQL.COLUMN.TABLE.NAME text.var Name of the table to which the<br />

column belongs. If the column is<br />

an expression, an empty string is<br />

returned.<br />

SQL.COLUMN.TYPE num.var Number representing the SQL<br />

type of this column.<br />

SQL.COLUMN.TYPE.NAME text.var Data type name for column,<br />

specific to the data source.<br />

SQL.COLUMN.UNSIGNED num.var 1 – TRUE for nonnumeric data<br />

types.<br />

0 – FALSE for all other data<br />

types.<br />

SQL.COLUMN.UPDATABLE num.var Any expressions or computed<br />

columns return<br />

SQL.ATTR.READONLY, and<br />

stored data columns return<br />

SQL.ATTR.WRITE.<br />

Column Attributes (continued)

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

Saved successfully!

Ooh no, something went wrong!