SQL_DefConnect

Last Updated2014-12-15
Created At2007-06-01

Creates a default SQL connection.

stock Database SQL_DefConnect(char[] error, int maxlength, bool persistent = true)

Parameters

char[] error
Error buffer.
int maxlength
Maximum length of the error buffer.
bool persistent
True to re-use a previous persistent connection if possible, false otherwise.

Return Value

Database A database connection Handle, or INVALID_HANDLE on failure. On failure the error buffer will be filled with a message.