更新日期:2024年09月11日
SQLFetch 访存结果集的一行数据。
驱动程序返回使用 SQLBindCol 绑定到存储位置的所有列的数据。
下表描述了 SQLFetch 的 SQLSTATE 和错误值。
SQLSTATE
错误值
错误消息
01000
-11001
General warning
01004
-11003
Data truncated
07006
-11013
Restricted data-type attribute violation
08S01
-11020
Communication-link failure
22002
-11024
Indicator value required but not supplied
22003
-11025
Numeric value out of range
GBase 8s ODBC Driver 程序员指南
南大通用数据技术股份有限公司
- 225 -
SQLSTATE
错误值
错误消息
22005
-11026
Error in assignment
22008
-11027
Datetime field overflow
22012
-11028
Division by zero
24000
-11031
Invalid cursor state
40001
-11037
Serialization failure
S1000
-11060
General error
S1001
-11061
Memory-allocation failure
S1002
-11062
Invalid column number
S1008
-11065
Operation canceled
S1010
-11067
Function-sequence error
S1C00
-11092
Driver not capable
S1T00
-11094
Time-out expired