standard.db.sql.ODBCConnect

ODBCConnect is available since version 1.0.

Prototype:

number ODBCConnect(string DSNName, string username, string password)

Parameters

DSNName
the DSN name
username
the username
password
the password

Description:

Connect to a database using a DSN(Data Source Name). You may want to check ODBCDriverConnect also.

Return value:

Return null if failed, or the connection id if succeeded.