vertical-blank / sql-formatter

SQL formatter written with only Java Standard Library, without dependencies.
MIT License
223 stars 46 forks source link

Oracle quotation operation fails #45

Closed hemlac closed 3 years ago

hemlac commented 3 years ago

Using StandardSql or PlSql dialect, sql-formatter incorrectly interprets the Oracle quotation (q'...') operator. For input string Select q'{test message}' from dual gives wrong result Select q '{test message}' from dual

vertical-blank commented 3 years ago

Fixed by #47

hemlac commented 3 years ago

@vertical-blank Works fine! Thank you!