Previous Up Next

SqlDescErr
This function makes it possible to have a detail of the last error encountered, typically when SqlCod returns SQL_ERROR

[S I S I] SqlDescErr (
SqlDB _db_
)
Parameters

_db_
any SqlDB
Return value

state will be the SQLSTATE value returned by ODBC
native error is the one coming from the DBMS used
message describes the anomaly
number of lines will be the number processed by UPDATE or DELETE type requests