SQLSpecialColumns 检索有关列的信息。
SQLSpecialColumns 检索有关指定表的以下信息:
GBase 8s ODBC Driver 程序员指南
南大通用数据技术股份有限公司
- 240 -
唯一标识表中的一行的最佳列集
通过事务更新行中的值时,自动更新的列
下表描述了 SQLSpecialColumns 的 SQLSTATE 和错误值。
SQLSTATE
错误值
错误消息
01000
-11001
General warning
08S01
-11020
Communication-link failure
24000
-11031
Invalid cursor state
S1000
-11060
General error
S1001
-11061
Memory-allocation failure
S1008
-11065
Operation canceled
S1010
-11067
Function-sequence error
S1090
-11071
Invalid string or buffer length
S1097
-11078
Column type out of range
S1098
-11079
Scope type out of range
S1099
-11080
Nullable type out of range
S1C00
-11092
Driver not capable
S1T00
-11094
Time-out expired
S1C00
-11300
SQL_DEFAULT_PARAM not supported
08S01
-11301
A protocol error has been detected. Current connection is
closed.
S1000
-11310
Create and Drop must be executed within a ServerOnly
Connection
S1000
-11320
Syntax error
S1000
-11323
The statement contained an escape clause not supported by
this database driver