Skip to content

SQLOpen Command

Obsolete

Refer to the SQLOpen method in the cSQLConnection class.

Syntax

SQLOpen hdbc To hstmt

The SQLOpen command will return a handle to a statement.

Example

SQLConnect "DB2_DRV" "DSN=CompanyServer;UID=John;PWD=Secret" To hdbc
SQLOpen hdbc To hstmt
Open Customer
SQLFileConnect Customer To hdbc
SQLOpen hdbc To hstmt