dbi_error

Синтаксис

native dbi_error(Sql:_sql, _error[], _len);

Описание

Returns an error message set.  For PGSQL and MySQL,
this is a direct error return from the database handle/API.
For MSSQL, it returns the last error message found from a
thrown exception.