| SQLState codes consisti of 5 characters. The first 2 characters specify the error
class, the last three characters specify the subclass. For example, the SQLSTATE value
'22012' consists of class code 22 (data exception) and subclass code 012 (division by
zero). * Each of the five characters in a SQLSTATE value is a digit (0..9) or an
uppercase Latin letter (A..Z).
Class codes that begin with a digit in the range 0..4 or a letter in the range A..H are
reserved for predefined conditions. Within predefined classes, subclass codes that
begin with a digit in the range 0..4 or a letter in the range A..H are reserved for
predefined sub-conditions. All other subclass codes are reserved for
implementation-defined sub-conditions. (see ANSI-SQL99 specification).
version: $Revision: 1.1 $ $Date: 2005/03/19 02:08:49 $ author: Ahimanikya Satapathy |