📄 sql-state.codes
字号:
00|000|Successful completion01|000|Warning01|002|- disconnect error01|003|- null value eliminated in set function01|004|- string data, right truncation01|005|- insufficient item descriptor areas01|006|- privilege not revoked01|007|- privilege not granted01|008|- implicit zero-bit padding01|S01|- error in row01|S02|- option value changed01|S05|- cancel treated as close01|S06|- attempt to fetch before the result set returned the first rowset01|S07|- fractional truncation02|000|No data07|000|Dynamic SQL error07|001|- using clause does not match dynamic parameter specifications07|002|- using clause does not match target specifications07|003|- cursor specification cannot be executed07|004|- using clause required for dynamic parameters07|005|- prepared statement is not a cursor specification07|006|- restricted data type attribute violation07|007|- using clause required for result fields07|008|- invalid descriptor count07|009|- invalid descriptor index07|00F|- invalid DATETIME_INTERVAL_CODE08|000|Connection exception08|001|- client unable to establish connection08|002|- connection name in use08|003|- connection does not exist08|004|- server rejected the connection08|006|- connection failure09|000|Triggered action exception0A|000|Feature not supported0B|000|Invalid transaction initiation0K|000|Resignal when handler not active0W|000|Prohibited statement encountered during trigger execution21|000|Cardinality violation21|S01|- insert value list does not match column list21|S02|- degree of derived table does not match column list22|000|Data exception22|001|- string data, right truncation22|002|- null value, no indicator parameter22|003|- numeric value out of range22|005|- error in assignment22|006|- invalid interval format22|007|- invalid datetime format22|008|- datetime field overflow22|011|- substring error22|012|- division by zero22|015|- interval field overflow22|018|- invalid character value for cast22|019|- invalid escape character22|023|- invalid parameter value22|024|- unterminated C string22|025|- invalid escape sequence22|026|- string data, length mismatch22|027|- trim error22|029|- noncharacter in UCS string23|000|Integrity constraint violation24|000|Invalid cursor state25|000|Invalid transaction state25|S03|- transaction is rolled back26|000|Invalid SQL statement name27|000|Triggered data change violation28|000|Invalid authorization specification2E|000|Invalid connection name2F|000|SQL routine exception2F|003|- prohibited SQL-statement attempted2F|005|- function executed no return statement33|000|Invalid SQL descriptor name34|000|Invalid cursor name35|000|Invalid condition number37|000|Syntax error or access violation in PREPARE or EXECUTE IMMEDIATE3C|000|Ambiguous cursor name40|000|- transaction rollback40|001|- serialization failure42|000|Syntax error or access rule violation42|S01|- base table or view already exists42|S02|- base table or view not found42|S11|- index already exists42|S21|- column already exists42|S22|- column not found44|000|WITH CHECK OPTION violation45|000|Unhandled user-defined exceptionHY|000|General error HY|001|- memory allocation errorHY|003|- invalid application buffer typeHY|004|- invalid SQL data typeHY|007|- associated statement is not preparedHY|008|- operation canceledHY|009|- invalid use of null pointerHY|010|- function sequence errorHY|011|- attribute cannot be set nowHY|012|- invalid transaction operation codeHY|013|- memory management errorHY|014|- limit on the number of handles exceededHY|015|- no cursor name availableHY|016|- cannot modify an implementation row descriptorHY|017|- invalid use of an automatically allocated descriptor handleHY|018|- server declined cancel request SQLCancelHY|019|- non-character and non-binary data sent in piecesHY|020|- attempt to concatenate a null valueHY|021|- inconsistent descriptor informationHY|024|- invalid attribute valueHY|090|- invalid string or buffer lengthHY|091|- invalid descriptor field identifierHY|092|- invalid attribute/option identifierHY|093|- invalid parameter numberHY|095|- function type out of rangeHY|096|- invalid information typeHY|097|- column type out of rangeHY|098|- scope type out of rangeHY|099|- nullable type out of rangeHY|100|- uniqueness option type out of rangeHY|101|- accuracy option type out of rangeHY|102|- table type out of rangeHY|103|- invalid retrieval codeHY|104|- invalid precision or scale valueHY|105|- invalid parameter typeHY|106|- fetch type out of rangeHY|107|- row value out of rangeHY|108|- concurrency option out of rangeHY|109|- invalid cursor positionHY|110|- invalid driver completionHY|111|- invalid bookmark valueHY|C00|- optional feature not implementedHY|T00|- timeout expiredHY|T01|- connection timeout expiredIM|000|ODBC specific return codesIM|001|- driver does not support this functionIM|008|- dialog failedS0|000|ODBC 2.0 codesS0|001|- base table or view already existsS0|002|- base table not foundS0|011|- index already existsS0|012|- index not foundS0|021|- column already existsS0|022|- column not foundS1|000|General errorS1|001|- memory allocation failureS1|002|- invalid column numberS1|003|- program type out of rangeS1|004|- SQL data type out of rangeS1|008|- operation canceledS1|009|- invalid argument valueS1|010|- function sequence errorS1|012|- invalid transaction operation code specifiedS1|090|- invalid string or buffer lengthS1|091|- descriptor type out of rangeS1|092|- option type out of rangeS1|093|- invalid parameter numberS1|095|- function type out of rangeS1|096|- information type out of rangeS1|097|- column type out of rangeS1|098|- scope type out of rangeS1|099|- nullable type out of rangeS1|100|- uniqueness option out of rangeS1|101|- accuracy option type out of rangeS1|102|- table type out of rangeS1|105|- direction option out of rangeS1|106|- fetch type out of rangeS1|107|- row value out of rangeS1|108|- concurrency option out of rangeS1|109|- invalid cursor positionS1|C00|- driver not capableS1|T00|- timeout expired
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -