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 describes the return values of the SQLFetch function. 1-816 UniBasic Commands Reference Return Value Description 0 SQL.SUCCESS −1 SQL.ERROR −2 SQL.INVALID.HANDLE 1 SQL.SUCCESS.WITH.INFO 100 SQL.NO.DATA.FOUND SQLFetch Return Values

SQLFreeConnect Syntax status = SQLFreeConnect (connect.env) 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 SQLFreeConnect releases a connection environment and its resources. You must use SQLDisconnect to disconnect the connection environment from the data source before you release the connection environment with SQLFreeConnect, otherwise an error is returned. Parameters The following table describes each parameter of the syntax. Parameter Description connect.env Connection environment. SQLFreeConnect Parameters SQLFreeConnect 1-817

SQLFreeConnect<br />

Syntax<br />

status = SQLFreeConnect (connect.env)<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 />

SQLFreeConnect releases a connection environment and its resources.<br />

You must use SQLDisconnect to disconnect the connection environment from the<br />

data source before you release the connection environment with SQLFreeConnect,<br />

otherwise an error is returned.<br />

Parameters<br />

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

Parameter Description<br />

connect.env Connection environment.<br />

SQLFreeConnect Parameters<br />

SQLFreeConnect 1-817

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

Saved successfully!

Ooh no, something went wrong!