Quadcap Software

Quadcap Embeddable Database

Quadcap Software

CHAR

The CHAR, or CHARACTER type is implemented using the Java String class, and provides for padding/truncation to the fixed size specified. As with the VARCHAR type, any Unicode character can be stored in a VARCHAR type, which makes this type more like the SQL NCHAR type than it's supposed to be. Even though not compliant, this behaviour seems much more useful, and nobody has complained yet...

Syntax

typeChar
  :  (  "char" 
    |  "character" 
    ) 
    (  LPAREN integer RPAREN 
    |  
    ) 
    
  ;