Connector/ODBC Reference
1803
Native Value
SQL Type
C Type
time
SQL_TIME
SQL_C_TIME
timestamp
[501]
SQL_TIMESTAMP
SQL_C_TIMESTAMP
tinyblob
SQL_LONGVARBINARY
SQL_C_BINARY
tinyint unsigned
SQL_TINYINT
SQL_C_UTINYINT
tinyint
SQL_TINYINT
SQL_C_STINYINT
tinytext
SQL_LONGVARCHAR
SQL_C_CHAR
varchar
SQL_VARCHAR
SQL_C_CHAR
year
SQL_SMALLINT
SQL_C_SHORT
20.1.6.3. Connector/ODBC Error Codes
The following tables lists the error codes returned by Connector/ODBC apart from the server errors.
Table 20.18. Special Error Codes Returned by Connector/ODBC
Native
Code
SQLSTATE 2
SQLSTATE 3
Error Message
500
01000
01000
General warning
501
01004
01004
String data, right truncated
502
01S02
01S02
Option value changed
503
01S03
01S03
No rows updated/deleted
504
01S04
01S04
More than one row updated/deleted
505
01S06
01S06
Attempt to fetch before the result set returned the first row
set
506
07001
07002
SQLBindParameter
not used for all parameters
507
07005
07005
Prepared statement not a cursor-specification
508
07009
07009
Invalid descriptor index
509
08002
08002
Connection name in use
510
08003
08003
Connection does not exist
511
24000
24000
Invalid cursor state
512
25000
25000
Invalid transaction state
513
25S01
25S01
Transaction state unknown
514
34000
34000
Invalid cursor name
515
S1000
HY000
General driver defined error
516
S1001
HY001
Memory allocation error
517
S1002
HY002
Invalid column number
518
S1003
HY003
Invalid application buffer type
519
S1004
HY004
Invalid SQL data type
520
S1009
HY009
Invalid use of null pointer
521
S1010
HY010
Function sequence error
522
S1011
HY011
Attribute can not be set now
523
S1012
HY012
Invalid transaction operation code
524
S1013
HY013
Memory management error
525
S1015
HY015
No cursor name available
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...