dbGetLastErrorNum

Purpose

Returns information about the last error that occurred on the database.

Format

last_error = dbGetLastErrorNum(db_id)
Parameters:db_id (scalar) – database connection index number.
Returns:last_error (scalar) – number of last error on the specified database.