UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

Return Values The following table lists the return values of the SQLGetInfo function. 1-828 UniBasic Commands Reference SQL.CONVERT.DOUBLE SQL.CONVERT.TINYINT SQL.CONVERT.FLOAT SQL.CONVERT.VARBINARY SQL.CONVERT.INTEGER SQL.CONVERT.VARCHAR SQL.CONVERT.LONGVARBINARY ODBC info.type Values (continued) Return Value Description 0 SQL.SUCCESS 1 SQL.SUCCESS.WITH.INFO –1 SQL.ERROR –2 SQL.INVALID.HANDLE SQLGetInfo Return Values

SQLGetTypeInfo Syntax status = SQLGetTypeInfo (statement.env, sql.type) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description SQLGetTypeInfo returns information about an SQL on the data source. You can use SQLGetTypeInfo only against ODBC data sources. SQLGetTypeInfo returns a standard result set ordered by DATA.TYPE and TYPE.NAME. SQLGetTypeInfo 1-829

Return Values<br />

The following table lists the return values of the SQLGetInfo function.<br />

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

SQL.CONVERT.DOUBLE SQL.CONVERT.TINYINT<br />

SQL.CONVERT.FLOAT SQL.CONVERT.VARBINARY<br />

SQL.CONVERT.INTEGER SQL.CONVERT.VARCHAR<br />

SQL.CONVERT.LONGVARBINARY<br />

ODBC info.type Values (continued)<br />

Return Value Description<br />

0 SQL.SUCCESS<br />

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

–1 SQL.ERROR<br />

–2 SQL.INVALID.HANDLE<br />

SQLGetInfo Return Values

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

Saved successfully!

Ooh no, something went wrong!