sql-parser icon indicating copy to clipboard operation
sql-parser copied to clipboard

Add support for `CHARACTER(N)` and allow keywords as alias.

Open mweisgut opened this issue 3 years ago • 0 comments

Support CHARACTER(N) as a token for the character data type while supporting keywords as aliases.

Example with a keyword as alias:

SELECT student.id AS character FROM student;

Flex start states (see https://stackoverflow.com/questions/1130597/start-states-in-lex-flex) could help here.

mweisgut avatar Jan 17 '22 11:01 mweisgut