Download Database - National Instruments

Transcript
Appendix B
Error Codes
Table B-1. SQL Toolkit Error Code (Continued)
Error
Code
Error Constant Name
Description/Cause
-90
DB_UNKNOWN_TABLES_FLAG
Unknown flag value for DBTables.
-89
DB_CANNOT_FIND_MAP
Invalid map handle.
-88
DB_UNEXPECTED_NULL_PTR
Illegal pointer to NULL in attribute
function.
-87
DB_INVALID_ATTRIBUTE
Specified attribute number is not a
valid attribute number.
-87
DB_INVALID_COLUMN
Invalid field/column number.
-85
DB_UNSUPPORTED_TYPE
Conversion to unsupported type
requested in
DBGetVariantArrayColumns.
-83
DB_INVALID_PARAMETER_
ATTRIBUTE
Specified parameter attribute
number is not a valid parameter
attribute number.
-81
DB_INVALID_COLUMN_ATTRIBUTE
Specified attribute number is not a
valid column attribute number.
-80
DB_COLUMN_ATTRIBUTE_READ_ONLY
Specified column attribute is a read
only attribute.
-79
DB_STMT_ATTR_READ_ONLY
Specified statement attribute is a read
only attribute.
-78
DB_INVALID_STMT_ATTRIBUTE
Specified attribute number is not
valid for statements.
-77
DB_INVALID_FOR_COMMAND
Specified statement attribute is
invalid for statements based on
command objects, in other words,
statements you create with
DBPrepareSQL.
-76
DB_INVALID_FOR_RECORDSET
Specified statement attribute is
invalid for statements based on
recordset objects, in other words,
statements you create with
DBActivateSQL, DBActivateMap,
or DBNewSQLStatement.
LabWindows/CVI SQL Toolkit Reference Manual
B-2
© National Instruments Corporation