| SQLState | Error Code | Error Message |
| Class | SubClass |
| 21 | 000 | -5100 | More than one tuple not allowed for the Subquery (Subquery returned more than 1 value. This is illegal when the subquery follows , , <, <=, >, >=. or when the subquery is used as an expression.) |
| S01 | -5104 | Insert Value list does not match the Column list |
| S02 | -5105 | Degree of the derived table does not match Column list |
| 22 | 003 | -5204 | Numeric Value out of range |
| 006 | -5201 | Invalid Interval Format |
| 012 | -5200 | Divide by Zero Error |
| 015 | -5202 | Interval field overflow |
| 019 | -5101 | Invalid Escape character, Single character to be used |
| 025 | -5102 | Invalid Escape Sequence |
| 027 | -5203 | Trim Error |
| 23 | 000 | -5300 | Unique key constraint violated ( Tuple already exists) |
| -5301 | Unique key constraint violated ( Null value not permitted for primary keys) |
| 42 | 000 | -5600 | User not authorized to access the table/view |
| -5601 | User not authorized to access the column of table/view |
| -5602 | User not authorized to grant permission for the table/view |
| S01 | -5105 | Table or View already exists |
| S02 | -5103 | Table or View not found |
| S11 | -5400 | Index already exists with the same name |
| S21 | -5106 | Column already exists with the same name |
| S22 | -5107 | Column not found or Invalid column name |