SQL_Connect

Синтаксис

native Handle:SQL_Connect(Handle:cn_tuple, &errcode, error[], maxlength);

Употреба

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.

Описание

Opens a database connection.

Връщаща стойност

Returns an SQL connection handle, which must be freed.
Returns Empty_Handle on failure.

Грешка

Invalid info tuple handle.