add support for oracle type size units 'char' and 'byte', example: varchar2(55 byte)
This commit is contained in:
parent
b23f3aaa07
commit
ff3dcb814c
4 changed files with 36 additions and 0 deletions
Language/SQL/SimpleSQL
|
@ -490,7 +490,11 @@ factoring in this function, and it is a little dense.
|
|||
> <|> PrecT <$ keyword_ "t"
|
||||
> <|> PrecP <$ keyword_ "p"
|
||||
> lobUnits = PrecCharacters <$ keyword_ "characters"
|
||||
> -- char and byte are the oracle spelling
|
||||
> -- todo: move these to oracle dialect
|
||||
> <|> PrecCharacters <$ keyword_ "char"
|
||||
> <|> PrecOctets <$ keyword_ "octets"
|
||||
> <|> PrecOctets <$ keyword_ "byte"
|
||||
> tz = True <$ keywords_ ["with", "time","zone"]
|
||||
> <|> False <$ keywords_ ["without", "time","zone"]
|
||||
> charSet = keywords_ ["character", "set"] *> names
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue