SQLAllocConnect() - Allocate a connection
handle
SQLAllocConnect() is a deprecated function
and is replaced by SQLAllocHandle().
ODBC specifications for SQLAllocConnect()
| ODBC specification level | In X/Open CLI CAE specification? | In ISO CLI specification? |
|---|---|---|
| 1.0 (Deprecated) | Yes | Yes |
Syntax
SQLRETURN SQLAllocConnect (SQLHENV henv,
SQLHDBC FAR *phdbc);Function arguments
The following table lists the data type, use, and description for each argument in this function.
| Data type | Argument | Use | Description |
|---|---|---|---|
| SQLHENV | henv | input | Environment handle |
| SQLHDBC * | phdbc | output | Pointer to a connection handle |