/  Yamcs Server Manual  /  SQL Language  /  Literals

Literals

Integer Literals

integer    ::=  decinteger | hexinteger
decinteger ::=  digit+
hexinteger ::=  "0" "X" hexdigit+
hexdigit   ::=  digit | "A"..."F"
digit      ::=  "0"..."9"

Float Literals

float    ::=  digit* "." digit+ [ exponent ]
              | digit+ exponent
exponent ::=  [ "+" | "-" ] [ "E" ] digit+

String Literals

string     ::=  "'" stringchar*  "'" ( "'" stringchar* "'" )*
stringchar ::=  <any character except newline or quote>

Concatenation

Adjacent string literals (delimited by whitespace) are allowed, and concatenated at compile time.