Previous Up Next

SqlCod
Returns the value relative to the last SQL function called.

I SqlCod (
SqlDB _db_
)
Parameters

_db_
any SqlDB
Return value

return error code can be one of the following values :
Value Meaning
SQL_SUCCESS no error
SQL_NO_DATA no line returned for the last selection request (SELECT); UPDATE or DELETE type requests will not return this value if no line was updated, instead returning SQL_SUCCESS. The following function is then used to obtain the number of lines effectively updated
SQL_ERROR error executing the last function called