UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
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
- Page 820 and 821: SPLICE Syntax SPLICE(expr1,"expr",
- Page 822 and 823: SQLAllocConnect Syntax status = SQL
- Page 824 and 825: SQLAllocEnv Syntax status = SQLAllo
- Page 826 and 827: SQLAllocStmt Syntax status = SQLAll
- Page 828 and 829: SQLBindCol Syntax status = SQLBindC
- Page 830 and 831: SQLBindParameter Syntax status = SQ
- Page 832 and 833: Parameters The following table desc
- Page 834 and 835: SQLCancel Syntax status = SQLCancel
- Page 836 and 837: SQLColAttributes Syntax status = SQ
- Page 838 and 839: 1-796 UniBasic Commands Reference C
- Page 840 and 841: SQLColumns Syntax status = SQLColum
- Page 842 and 843: Return Values The following table d
- Page 844 and 845: Parameter Description Return Values
- Page 846 and 847: Parameter Description Return Values
- Page 848 and 849: Return Values The following table d
- Page 850 and 851: ODBC Data Sources When a program is
- Page 852 and 853: SQLExecDirect Syntax status = SQLEx
- Page 854 and 855: Parameter Description Return Values
- Page 856 and 857: SQLExecute tells the data source to
- Page 858 and 859: Return Values The following table d
- Page 860 and 861: Return Values The following table d
- Page 862 and 863: Return Values The following table d
- Page 864 and 865: Parameters The following table desc
- Page 866 and 867: SQLGetInfo Syntax status = SQLGetIn
- Page 868 and 869: 1-826 UniBasic Commands Reference S
- Page 872 and 873: Parameters The following table desc
- Page 874 and 875: 1-832 UniBasic Commands Reference C
- Page 876 and 877: SQLNumParams Syntax status = SQLNum
- Page 878 and 879: SQLNumResultCols Syntax status = SQ
- Page 880 and 881: SQLParamOptions Syntax status = SQL
- Page 882 and 883: Example This example shows how you
- Page 884 and 885: ODBC Data Sources If you execute a
- Page 886 and 887: SQLRowCount Syntax status = SQLRowC
- Page 888 and 889: SQLSetConnectOption Syntax status =
- Page 890 and 891: Return Values The following table d
- Page 892 and 893: SQLSetParam SQLSetParam is a synony
- Page 894 and 895: For complete details about the SQLS
- Page 896 and 897: 1-854 UniBasic Commands Reference C
- Page 898 and 899: Parameter Description tablename Nam
- Page 900 and 901: TYPE Smallint Not null 1-858 UniBas
- Page 902 and 903: SQLTables Syntax status = SQLTables
- Page 904 and 905: Return Values The following table d
- Page 906 and 907: Parameters The following table desc
- Page 908 and 909: SQRT Syntax SQRT(num.expr) Descript
- Page 910 and 911: SSUB Syntax SSUB(x, y) Description
- Page 912 and 913: STOP Syntax STOP [expr] Description
- Page 914 and 915: STR Syntax STR(str.expr, num.expr)
- Page 916 and 917: STRS Syntax STRS(dyn.array, expr) D
- Page 918 and 919: If the response status indicates th
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