native
SQL_Connect
Syntax
native Handle:SQL_Connect(Handle:cn_tuple, &errcode, error[], maxlength);
Description
Opens a database connection.
Parameters
| cn_tuple | Tuple handle, returned from SQL_MakeDbTuple(). |
|---|---|
| errcode | An error code set by reference. |
| error | String where error string will be stored. |
| maxlength | Maximum length of the error buffer. |
Return
Returns an SQL connection handle, which must be freed.
Returns Empty_Handle on failure.
Error
Invalid info tuple handle.