Download Database - National Instruments

Transcript
Appendix B
Error Codes
Table B-1. SQL Toolkit Error Code (Continued)
Error
Code
Error Constant Name
Description/Cause
-12
DB_ODBC_ERROR
ODBC error detected in DBSources.
Call DBNativeError to get the
underlying error code.
-11
DB_AUTOMATION_ERROR
Error detected by CVI Automation.
Call DBNativeError to get the
underlying error code.
-10
DB_DBSYS_ERROR
Error detected by ADO. Call
DBNativeError to get the
underlying error code.
-9
DB_NO_DATA_CHANGED
Value could not be changed because
the field/column is read only. You
can use this value as a status variable
value to prevent attempts to change
data in read only columns.
-5
DB_EOF
End of file.
-4
DB_USER_CANCELLED
User cancelled the operation.
-3
DB_OUT_OF_MEMORY
Out of memory.
-2
DB_NULL_DATA
Value contains SQL Null data. For
DBGetVariantArrayColumn, at
least one value in the field was SQL
Null, the remaining columns have
been ignored.
-1
DB_TRUNCATION
Value retrieved from the database
was truncated.
DB_SUCCESS
Operation complete successfully.
0
LabWindows/CVI SQL Toolkit Reference Manual
B-4
© National Instruments Corporation