Data.SqlExpr.SQLResult
Delphi
type SQLResult = Integer;
C++
typedef int SQLResult;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | Data.SqlExpr |
Description
SQLResult is the return type for dbExpress function calls.
SQLResult indicates the success or failure of a dbExpress function. The following table lists the error codes defined for dbExpress.
SQLResult Value | Meaning |
---|---|
SQL_SUCCESS |
The function call was successful. |
DBXERR_NONE |
Same as SQL_SUCCESS. |
DBXERR_NOMEMORY |
Insufficient memory. |
DBXERR_INVALIDFLDTYPE |
Invalid field type. |
DBXERR_INVALIDHNDL |
Invalid handle. |
DBXERR_INVALIDTIME |
Invalid time value. |
DBXERR_NOTSUPPORTED |
Feature not supported. |
DBXERR_INVALIDXLATION |
Invalid translation. |
DBXERR_INVALIDPARAM |
Invalid parameter. |
DBXERR_OUTOFRANGE |
Value out of range. |
DBXERR_SQLPARAMNOTSET |
Parameter not set. |
DBXERR_EOF |
Unexpected end-of-file. |
DBXERR_INVALIDUSRPASS |
Invalid user password. |
DBXERR_INVALIDPRECISION |
Invalid precision on a BCD value. |
DBXERR_INVALIDLEN |
Invalid length. |
DBXERR_INVALIDTXNISOLEVEL |
Invalid transaction isolation level. |
DBXERR_INVALIDTXNID |
Invalid transaction id. |
DBXERR_DUPLICATETXNID |
Duplicate transaction id. |
DBXERR_DRIVERRESTRICTED |
Driver restricted. |
DBXERR_LOCALTRANSACTIVE |
An attempt to start multiple local transactions (only 1 allowed). |