1 static const sqlerrmsg_t sqlerrmsg_tab[] =
4 en_01000, "01000", "General warning",
5 en_01002, "01002", "Disconnect error",
6 en_01004, "01004", "Data truncated",
7 en_01006, "01006", "Privilege not revoked",
8 en_01S00, "01S00", "Invalid connection string attribute",
9 en_01S01, "01S01", "Error in row",
10 en_01S02, "01S02", "Optional value changed",
11 en_01S03, "01S03", "No rows updated or deleted",
12 en_01S04, "01S04", "More than one row updated or deleted",
13 en_07001, "07001", "Wrong number of parameters",
14 en_07006, "07006", "Restricted data type attribute violation",
15 en_08001, "08001", "Unable to connect to data source",
16 en_08002, "08002", "Connection in use",
17 en_08003, "08003", "Connect not open",
18 en_08004, "08004", "Data source rejected establishment of connection",
19 en_08007, "08007", "Connection failure during transaction",
20 en_08S01, "08S01", "Communication link failure",
21 en_21S01, "21S01", "Insert value list does not match",
22 en_21S02, "21S02", "Degree of derived table does not match column list",
23 en_22001, "22001", "String data right truncation",
24 en_22003, "22003", "Numeric value out of range",
25 en_22005, "22005", "Error in assignment",
26 en_22008, "22008", "Datetime field overflow",
27 en_22012, "22012", "Division by zero",
28 en_22026, "22026", "String data, length mismatch",
29 en_23000, "23000", "Integrity constraint violation",
30 en_24000, "24000", "Invalid cursor state",
31 en_25000, "25000", "Invalid transaction state",
32 en_28000, "28000", "Invalid authorization specification",
33 en_34000, "34000", "Invalid cursor name",
34 en_37000, "37000", "Syntex error or access violation",
35 en_3C000, "3C000", "Duplicate cursor name",
36 en_40001, "40001", "Serialization failure",
37 en_42000, "42000", "Syntax error or access violation",
38 en_70100, "70100", "Operation aborted",
39 en_IM001, "IM001", "Driver does not support this function",
40 en_IM002, "IM002", "Data source name not found and no default "
41 "driver specified. Driver could not be loaded",
42 en_IM003, "IM003", "Specified driver could not be loaded",
43 en_IM004, "IM004", "Driver's SQLAllocEnv() failed",
44 en_IM005, "IM005", "Driver's SQLAllocConnect() failed",
45 en_IM006, "IM006", "Driver's SQLSetConnectOption failed",
46 en_IM007, "IM007", "No data source or driver specified, dialog prohibited",
47 en_IM008, "IM008", "Dialog failed",
48 en_IM009, "IM009", "Unable to load translation DLL",
49 en_IM010, "IM010", "Data source name too long",
50 en_IM011, "IM011", "Driver name too long",
51 en_IM012, "IM012", "DRIVER keyword syntax error",
52 en_IM013, "IM013", "Trace file error",
53 en_IM014, "IM014", "Try to change tracing file while tracing is on",
54 en_S0001, "S0001", "Base table or view already exists",
55 en_S0002, "S0002", "Base table not found",
56 en_S0011, "S0011", "Index already exists",
57 en_S0012, "S0012", "Index not found",
58 en_S0021, "S0021", "Column already exists",
59 en_S0022, "S0022", "Column not found",
60 en_S0023, "S0023", "No default for column",
61 en_S1000, "S1000", "General error",
62 en_S1001, "S1001", "Memory allocation failure",
63 en_S1002, "S1002", "Invalid column number",
64 en_S1003, "S1003", "Program type out of range",
65 en_S1004, "S1004", "SQL data type out of range",
66 en_S1008, "S1008", "Operation canceled",
67 en_S1009, "S1009", "Invalid argument value",
68 en_S1010, "S1010", "Function sequence error",
69 en_S1011, "S1011", "Operation invalid at this time",
70 en_S1012, "S1012", "Invalid transaction operation code specified",
71 en_S1015, "S1015", "No cursor name available",
72 en_S1090, "S1090", "Invalid string or buffer length",
73 en_S1091, "S1091", "Descriptor type out of range",
74 en_S1092, "S1092", "Option type out of range",
75 en_S1093, "S1093", "Invalid parameter",
76 en_S1094, "S1094", "Invalid scale value",
77 en_S1095, "S1095", "Function type out of range",
78 en_S1096, "S1096", "Information type out of range",
79 en_S1097, "S1097", "Column type out of range",
80 en_S1098, "S1098", "Scope type out of range",
81 en_S1099, "S1099", "Nullable type out of range",
82 en_S1100, "S1100", "Uniquenss option type out of range",
83 en_S1101, "S1101", "Accuracy option type out of range",
84 en_S1103, "S1103", "Direction option out of range",
85 en_S1104, "S1104", "Invalid precision value",
86 en_S1105, "S1105", "Invalid parameter type",
87 en_S1106, "S1106", "Fetch type out of range",
88 en_S1107, "S1107", "Row value out of range",
89 en_S1108, "S1108", "Concurrency option out of range",
90 en_S1109, "S1109", "Invalid cursor position",
91 en_S1110, "S1110", "Invalid driver completion",
92 en_S1111, "S1111", "Invalid bookmark value",
93 en_S1C00, "S1C00", "Driver not capable",
94 en_S1T00, "S1T00", "Timeout expired",
95 en_sqlstat_total, NULL, NULL
98 static char FAR* sqlerrhd = "[iODBC][Driver Manager]";