|        | |||||
|  | |||||
| function | SQLAllocStmt | ||||
| Sample Code | Related Syntax | Other Library Functions | 
| Library: ODBC Include: omodbc.xin | Returns: Numeric An SQL return code. The following values may be returned: 
 | 
  define external counter function SQLAllocStmt
     (  read-only SQL_handle_type ConnectionHandle,
        read-only SQL_handle_type StatementHandle )
Allocates a statement handle and associates the handle with the connection specified by ConnectionHandle. An application must call SQLAllocStmt prior to submitting SQL statements. 
This function has been superseded by SQLAllocHandle in ODBC 3.0.
Input arguments:
| ---- |