Figure 9-1
This illustration describes the SQLSTATE coding scheme. There is a four by four matirx, with "first char in class code" heading the columns and "first char in subclass code" heading the rows. From left to right, the columns are labeled "0..4", "5..9", "A..H", and "I..Z". From top to bottom, the rows are labeled "0..4", "5..9", "A..H", and "I..Z". Predefined conditions (those defined in SQL92) comprise four of the sixteen cells: (0..4, 0..4), (A..H, 0...4), (0..4, A..H), and (A..H, A..H). The rest of the cells are implementation-defined conditions.