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.

SQLGetInfo<br />

Syntax<br />

status = SQLGetInfo (connect.env, info.type, info.value)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

SQLGetInfo returns general information about the ODBC driver and the data<br />

source.<br />

This function supports all of the possible requests for information defined in the<br />

ODBC 2.0 specification. The #defines for info.type are contained in the ODBC.H<br />

include file.<br />

Parameters<br />

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

Parameter Description<br />

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

connect.env Connection environment.<br />

info.type The specific information requested. For a list of values, see the info.type<br />

tables under “Description.”<br />

info.value The information returned by SQLGetInfo.<br />

SQLGetInfo Parameters

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

Saved successfully!

Ooh no, something went wrong!