SQLResult is the return type for dbExpress function calls.
SQLResult = TDBXErrorCode;
TDBXErrorCode SQLResult;
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). |
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|