standard.db.sql.ODBCError

ODBCError is available since version 1.0.

Prototype:

string ODBCError([number connectionID])

Parameters

connectionID
the ID identifying the connection as returned by ODBCDriverConnect or ODBCConnect. If this parameter is missing, this will affect the first connection created.

Description:

Get the last encountered errors, as reported by the ODBC driver.

Return value:

Returns a string containing the last encountered errors.