數值常值語法
下列語法用於 ODBC 中的數值常值:
numeric-literal ::= signed-numeric-literal | unsigned-numeric-literal
signed-numeric-literal ::= [ sign ] unsigned-numeric-literal
unsigned-numeric-literal ::= exact-numeric-literal | approximate-numeric-literal
exact-numeric-literal ::= unsigned-integer [ period[ unsigned-integer ]] |period unsigned-integer
sign ::= plus-sign | 減號
approximate-numeric-literal ::= mantissa E 指數
mantissa ::= exact-numeric-literal
exponent ::= 帶正負號整數
signed-integer ::= [ sign ] unsigned-integer
unsigned-integer ::= digit...
plus-sign ::= +
減號 ::= -
digit ::= 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0
period ::= 。