| 1 | package DBIx::SQLstate::wikipedia; | ||
| 2 | |||
| 3 | 8 | our $VERSION = '20230517.1200'; | |
| 4 | |||
| 5 | 8 | our %SQLstate = ( | |
| 6 | '00000' => 'successful completion', | ||
| 7 | '01000' => 'warning', | ||
| 8 | '01001' => 'cursor operation conflict', | ||
| 9 | '01002' => 'disconnect error', | ||
| 10 | '01003' => 'null value eliminated in set function', | ||
| 11 | '01004' => 'string data, right truncation', | ||
| 12 | '01005' => 'insufficient item descriptor areas', | ||
| 13 | '01006' => 'privilege not revoked', | ||
| 14 | '01007' => 'privilege not granted', | ||
| 15 | '01009' => 'search condition too long for information schema', | ||
| 16 | '0100A' => 'query expression too long for information schema', | ||
| 17 | '0100B' => 'default value too long for information schema', | ||
| 18 | '0100C' => 'result sets returned', | ||
| 19 | '0100D' => 'additional result sets returned', | ||
| 20 | '0100E' => 'attempt to return too many result sets', | ||
| 21 | '0100F' => 'statement too long for information schema', | ||
| 22 | '01010' => 'column cannot be mapped', | ||
| 23 | '01011' => 'SQL-Java path too long for information schema', | ||
| 24 | '01012' => 'invalid number of conditions', | ||
| 25 | '0102F' => 'array data, right truncation', | ||
| 26 | '02000' => 'no data', | ||
| 27 | '02001' => 'no additional result sets returned', | ||
| 28 | '07000' => 'dynamic SQL error', | ||
| 29 | '07001' => 'using clause does not match dynamic parameter specifications', | ||
| 30 | '07002' => 'using clause does not match target specifications', | ||
| 31 | '07003' => 'cursor specification cannot be executed', | ||
| 32 | '07004' => 'using clause required for dynamic parameters', | ||
| 33 | '07005' => 'prepared statement not a cursor specification', | ||
| 34 | '07006' => 'restricted data type attribute violation', | ||
| 35 | '07007' => 'using clause required for result fields', | ||
| 36 | '07008' => 'invalid descriptor count', | ||
| 37 | '07009' => 'invalid descriptor index', | ||
| 38 | '0700B' => 'data type transform function violation', | ||
| 39 | '0700C' => 'undefined DATA value', | ||
| 40 | '0700D' => 'invalid DATA target', | ||
| 41 | '0700E' => 'invalid LEVEL value', | ||
| 42 | '0700F' => 'invalid DATETIME_INTERVAL_CODE', | ||
| 43 | '08000' => 'connection exception', | ||
| 44 | '08001' => 'SQL-client unable to establish SQL-connection', | ||
| 45 | '08002' => 'connection name in use', | ||
| 46 | '08003' => 'connection does not exist', | ||
| 47 | '08004' => 'SQL-server rejected establishment of SQL-connection', | ||
| 48 | '08006' => 'connection failure', | ||
| 49 | '08007' => 'transaction resolution unknown', | ||
| 50 | '09000' => 'triggered action exception', | ||
| 51 | '0A000' => 'feature not supported', | ||
| 52 | '0A001' => 'multiple server transactions', | ||
| 53 | '0D000' => 'invalid target type specification', | ||
| 54 | '0E000' => 'invalid schema name list specification', | ||
| 55 | '0F000' => 'locator exception', | ||
| 56 | '0F001' => 'invalid specification', | ||
| 57 | '0K000' => 'resignal when handler not active', | ||
| 58 | '0L000' => 'invalid grantor', | ||
| 59 | '0M000' => 'invalid SQL-invoked procedure reference', | ||
| 60 | '0N000' => 'SQL/XML mapping error', | ||
| 61 | '0N001' => 'unmappable XML name', | ||
| 62 | '0N002' => 'invalid XML character', | ||
| 63 | '0P000' => 'invalid role specification', | ||
| 64 | '0S000' => 'invalid transform group name specification', | ||
| 65 | '0T000' => 'target table disagrees with cursor specification', | ||
| 66 | '0U000' => 'attempt to assign to non-updatable column', | ||
| 67 | '0V000' => 'attempt to assign to ordering column', | ||
| 68 | '0W000' => 'prohibited statement encountered during trigger execution', | ||
| 69 | '0W001' => 'modify table modified by data change delta table', | ||
| 70 | '0X000' => 'invalid foreign server specification', | ||
| 71 | '0Y000' => 'pass-through specific condition', | ||
| 72 | '0Y001' => 'invalid cursor option', | ||
| 73 | '0Y002' => 'invalid cursor allocation', | ||
| 74 | '0Z000' => 'diagnostics exception', | ||
| 75 | '0Z001' => 'maximum number of stacked diagnostics areas exceeded', | ||
| 76 | '0Z002' => 'stacked diagnostics accessed without active handler', | ||
| 77 | '10000' => 'XQuery error', | ||
| 78 | '20000' => 'case not found for case statement', | ||
| 79 | '21000' => 'cardinality violation', | ||
| 80 | '22000' => 'data exception', | ||
| 81 | '22001' => 'string data, right truncation', | ||
| 82 | '22002' => 'null value, no indicator parameter', | ||
| 83 | '22003' => 'numeric value out of range', | ||
| 84 | '22004' => 'null value not allowed', | ||
| 85 | '22005' => 'error in assignment', | ||
| 86 | '22006' => 'invalid interval format', | ||
| 87 | '22007' => 'invalid datetime format', | ||
| 88 | '22008' => 'datetime field overflow', | ||
| 89 | '22009' => 'invalid time zone displacement value', | ||
| 90 | '2200B' => 'escape character conflict', | ||
| 91 | '2200C' => 'invalid use of escape character', | ||
| 92 | '2200D' => 'invalid escape octet', | ||
| 93 | '2200E' => 'null value in array target', | ||
| 94 | '2200F' => 'zero-length character string', | ||
| 95 | '2200G' => 'most specific type mismatch', | ||
| 96 | '2200H' => 'sequence generator limit exceeded', | ||
| 97 | '2200J' => 'nonidentical notations with the same name', | ||
| 98 | '2200K' => 'nonidentical unparsed entities with the same name', | ||
| 99 | '2200L' => 'not an XML document', | ||
| 100 | '2200M' => 'invalid XML document', | ||
| 101 | '2200N' => 'invalid XML content', | ||
| 102 | '2200P' => 'interval value out of range', | ||
| 103 | '2200Q' => 'multiset value overflow', | ||
| 104 | '2200R' => 'XML value overflow', | ||
| 105 | '2200S' => 'invalid comment', | ||
| 106 | '2200T' => 'invalid processing instruction', | ||
| 107 | '2200U' => 'not an XQuery document node', | ||
| 108 | '2200V' => 'invalid XQuery context item', | ||
| 109 | '2200W' => 'XQuery serialization error', | ||
| 110 | '22010' => 'invalid indicator parameter value', | ||
| 111 | '22011' => 'substring error', | ||
| 112 | '22012' => 'division by zero', | ||
| 113 | '22013' => 'invalid preceding or following size in window function', | ||
| 114 | '22014' => 'invalid argument for NTILE function', | ||
| 115 | '22015' => 'interval field overflow', | ||
| 116 | '22016' => 'invalid argument for NTH_VALUE function', | ||
| 117 | '22017' => 'invalid data specified for datalink', | ||
| 118 | '22018' => 'invalid character value for cast', | ||
| 119 | '22019' => 'invalid escape character', | ||
| 120 | '2201A' => 'null argument passed to datalink constructor', | ||
| 121 | '2201B' => 'invalid regular expression', | ||
| 122 | '2201C' => 'null row not permitted in table', | ||
| 123 | '2201D' => 'datalink value exceeds maximum length', | ||
| 124 | '2201E' => 'invalid argument for natural logarithm', | ||
| 125 | '2201F' => 'invalid argument for power function', | ||
| 126 | '2201G' => 'invalid argument for width bucket function', | ||
| 127 | '2201H' => 'invalid row version', | ||
| 128 | '2201J' => 'XQuery sequence cannot be validated', | ||
| 129 | '2201K' => 'XQuery document node cannot be validated', | ||
| 130 | '2201L' => 'no XML schema found', | ||
| 131 | '2201M' => 'element namespace not declared', | ||
| 132 | '2201N' => 'global element not declared', | ||
| 133 | '2201P' => 'no XML element with the specified QName', | ||
| 134 | '2201Q' => 'no XML element with the specified namespace', | ||
| 135 | '2201R' => 'validation failure', | ||
| 136 | '2201S' => 'invalid Query regular expression', | ||
| 137 | '2201T' => 'invalid Query option flag', | ||
| 138 | '2201U' => 'attempt to replace a zero-length string', | ||
| 139 | '2201V' => 'invalid Query replacement string', | ||
| 140 | '2201W' => 'invalid row count in fetch first clause', | ||
| 141 | '2201X' => 'invalid row count in result offset clause', | ||
| 142 | '22021' => 'character not in repertoire', | ||
| 143 | '22022' => 'indicator overflow', | ||
| 144 | '22023' => 'invalid parameter value', | ||
| 145 | '22024' => 'unterminated C string', | ||
| 146 | '22025' => 'invalid escape sequence', | ||
| 147 | '22026' => 'string data, length mismatch', | ||
| 148 | '22027' => 'trim error', | ||
| 149 | '22029' => 'noncharacter in UCS string', | ||
| 150 | '2202A' => 'null value in field reference', | ||
| 151 | '2202D' => 'null value substituted for mutator subject parameter', | ||
| 152 | '2202E' => 'array element error', | ||
| 153 | '2202F' => 'array data, right truncation', | ||
| 154 | '2202G' => 'invalid repeat argument in a sample clause', | ||
| 155 | '2202H' => 'invalid sample size', | ||
| 156 | '23000' => 'integrity constraint violation', | ||
| 157 | '23001' => 'restrict violation', | ||
| 158 | '24000' => 'invalid cursor state', | ||
| 159 | '25000' => 'invalid transaction state', | ||
| 160 | '25001' => 'active SQL-transaction', | ||
| 161 | '25002' => 'branch transaction already active', | ||
| 162 | '25003' => 'inappropriate access mode for branch transaction', | ||
| 163 | '25004' => 'inappropriate isolation level for branch transaction', | ||
| 164 | '25005' => 'no active SQL-transaction for branch transaction', | ||
| 165 | '25006' => 'read-only SQL-transaction', | ||
| 166 | '25007' => 'schema and data statement mixing not supported', | ||
| 167 | '25008' => 'held cursor requires same isolation level', | ||
| 168 | '26000' => 'invalid SQL statement name', | ||
| 169 | '27000' => 'triggered data change violation', | ||
| 170 | '27001' => 'modify table modified by data change delta table', | ||
| 171 | '28000' => 'invalid authorization specification', | ||
| 172 | '2B000' => 'dependent privilege descriptors still exist', | ||
| 173 | '2C000' => 'invalid character set name', | ||
| 174 | '2D000' => 'invalid transaction termination', | ||
| 175 | '2E000' => 'invalid connection name', | ||
| 176 | '2F000' => 'SQL routine exception', | ||
| 177 | '2F002' => 'modifying SQL-data not permitted', | ||
| 178 | '2F003' => 'prohibited SQL-statement attempted', | ||
| 179 | '2F004' => 'reading SQL-data not permitted', | ||
| 180 | '2F005' => 'function executed no return statement', | ||
| 181 | '2H000' => 'invalid collation name', | ||
| 182 | '30000' => 'invalid SQL statement identifier', | ||
| 183 | '33000' => 'invalid SQL descriptor name', | ||
| 184 | '34000' => 'invalid cursor name', | ||
| 185 | '35000' => 'invalid condition number', | ||
| 186 | '36000' => 'cursor sensitivity exception', | ||
| 187 | '36001' => 'request rejected', | ||
| 188 | '36002' => 'request failed', | ||
| 189 | '38000' => 'external routine exception', | ||
| 190 | '38001' => 'containing SQL not permitted', | ||
| 191 | '38002' => 'modifying SQL-data not permitted', | ||
| 192 | '38003' => 'prohibited SQL-statement attempted', | ||
| 193 | '38004' => 'reading SQL-data not permitted', | ||
| 194 | '39000' => 'external routine invocation exception', | ||
| 195 | '39004' => 'null value not allowed', | ||
| 196 | '3B000' => 'savepoint exception', | ||
| 197 | '3B001' => 'invalid specification', | ||
| 198 | '3B002' => 'too many', | ||
| 199 | '3C000' => 'ambiguous cursor name', | ||
| 200 | '3D000' => 'invalid catalog name', | ||
| 201 | '3F000' => 'invalid schema name', | ||
| 202 | '40000' => 'transaction rollback', | ||
| 203 | '40001' => 'serialization failure', | ||
| 204 | '40002' => 'integrity constraint violation', | ||
| 205 | '40003' => 'statement completion unknown', | ||
| 206 | '40004' => 'triggered action exception', | ||
| 207 | '42000' => 'syntax error or access rule violation', | ||
| 208 | '44000' => 'with check option violation', | ||
| 209 | '45000' => 'unhandled user-defined exception', | ||
| 210 | '46000' => 'OLB-specific error', | ||
| 211 | '46001' => 'invalid URL', | ||
| 212 | '46002' => 'invalid JAR name', | ||
| 213 | '46003' => 'invalid class deletion', | ||
| 214 | '46005' => 'invalid replacement', | ||
| 215 | '4600A' => 'attempt to replace uninstalled JAR', | ||
| 216 | '4600B' => 'attempt to remove uninstalled JAR', | ||
| 217 | '4600C' => 'invalid JAR removal', | ||
| 218 | '4600D' => 'invalid path', | ||
| 219 | '4600E' => 'self-referencing path', | ||
| 220 | '46102' => 'invalid JAR name in path', | ||
| 221 | '46103' => 'unresolved class name', | ||
| 222 | '46110' => 'unsupported feature', | ||
| 223 | '46120' => 'invalid class declaration', | ||
| 224 | '46121' => 'invalid column name', | ||
| 225 | '46122' => 'invalid number of columns', | ||
| 226 | '46130' => 'invalid profile state', | ||
| 227 | 'HV000' => 'FDW-specific condition', | ||
| 228 | 'HV001' => 'memory allocation error', | ||
| 229 | 'HV002' => 'dynamic parameter value needed', | ||
| 230 | 'HV004' => 'invalid data type', | ||
| 231 | 'HV005' => 'column name not found', | ||
| 232 | 'HV006' => 'invalid data type descriptors', | ||
| 233 | 'HV007' => 'invalid column name', | ||
| 234 | 'HV008' => 'invalid column number', | ||
| 235 | 'HV009' => 'invalid use of null pointer', | ||
| 236 | 'HV00A' => 'invalid string format', | ||
| 237 | 'HV00B' => 'invalid handle', | ||
| 238 | 'HV00C' => 'invalid option index', | ||
| 239 | 'HV00D' => 'invalid option name', | ||
| 240 | 'HV00J' => 'option name not found', | ||
| 241 | 'HV00K' => 'reply handle', | ||
| 242 | 'HV00L' => 'unable to create execution', | ||
| 243 | 'HV00M' => 'unable to create reply', | ||
| 244 | 'HV00N' => 'unable to establish connection', | ||
| 245 | 'HV00P' => 'no schemas', | ||
| 246 | 'HV00Q' => 'schema not found', | ||
| 247 | 'HV00R' => 'table not found', | ||
| 248 | 'HV010' => 'function sequence error', | ||
| 249 | 'HV014' => 'limit on number of handles exceeded', | ||
| 250 | 'HV021' => 'inconsistent descriptor information', | ||
| 251 | 'HV024' => 'invalid attribute value', | ||
| 252 | 'HV090' => 'invalid string length or buffer length', | ||
| 253 | 'HV091' => 'invalid descriptor field identifier', | ||
| 254 | 'HW000' => 'datalink exception', | ||
| 255 | 'HW001' => 'external file not linked', | ||
| 256 | 'HW002' => 'external file already linked', | ||
| 257 | 'HW003' => 'referenced file does not exist', | ||
| 258 | 'HW004' => 'invalid write token', | ||
| 259 | 'HW005' => 'invalid datalink construction', | ||
| 260 | 'HW006' => 'invalid write permission for update', | ||
| 261 | 'HW007' => 'referenced file not valid', | ||
| 262 | 'HY000' => 'CLI-specific condition', | ||
| 263 | 'HY001' => 'memory allocation error', | ||
| 264 | 'HY003' => 'invalid data type in application descriptor', | ||
| 265 | 'HY004' => 'invalid data type', | ||
| 266 | 'HY007' => 'associated statement is not prepared', | ||
| 267 | 'HY008' => 'operation canceled', | ||
| 268 | 'HY009' => 'invalid use of null pointer', | ||
| 269 | 'HY010' => 'function sequence error', | ||
| 270 | 'HY011' => 'attribute cannot be set now', | ||
| 271 | 'HY012' => 'invalid transaction operation code', | ||
| 272 | 'HY013' => 'memory management error', | ||
| 273 | 'HY014' => 'limit on number of handles exceeded', | ||
| 274 | 'HY017' => 'invalid use of automatically allocated descriptor handle', | ||
| 275 | 'HY018' => 'server declined the cancellation request', | ||
| 276 | 'HY019' => 'non-string data cannot be sent in pieces', | ||
| 277 | 'HY020' => 'attempt to concatenate a null value', | ||
| 278 | 'HY021' => 'inconsistent descriptor information', | ||
| 279 | 'HY024' => 'invalid attribute value', | ||
| 280 | 'HY055' => 'non-string data cannot be used with string routine', | ||
| 281 | 'HY090' => 'invalid string length or buffer length', | ||
| 282 | 'HY091' => 'invalid descriptor field identifier', | ||
| 283 | 'HY092' => 'invalid attribute identifier', | ||
| 284 | 'HY093' => 'invalid datalink value', | ||
| 285 | 'HY095' => 'invalid FunctionId specified', | ||
| 286 | 'HY096' => 'invalid information type', | ||
| 287 | 'HY097' => 'column type out of range', | ||
| 288 | 'HY098' => 'scope out of range', | ||
| 289 | 'HY099' => 'nullable type out of range', | ||
| 290 | 'HY103' => 'invalid retrieval code', | ||
| 291 | 'HY104' => 'invalid LengthPrecision value', | ||
| 292 | 'HY105' => 'invalid parameter mode', | ||
| 293 | 'HY106' => 'invalid fetch orientation', | ||
| 294 | 'HY107' => 'row value out of range', | ||
| 295 | 'HY108' => 'invalid cursor position', | ||
| 296 | 'HY???' => 'invalid handle', | ||
| 297 | 'HYC00' => 'optional feature not implemented', | ||
| 298 | 'HZ???' => 'Reserved for ISO9579 (RDA)', | ||
| 299 | ); | ||
| 300 | |||
| 301 | 8 | 1; |