We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input data
Which SQL and options did you provide as input?
select * from dual offset 5 rows fetch next 10 rows only
Expected Output
SELECT * FROM dual OFFSET 5 ROWS FETCH NEXT 10 ROWS ONLY
Actual Output
SELECT * FROM dual OFFSET 5 rows FETCH NEXT 10 rows ONLY
Usage
It seems that rows are treated as identifier not keyword here.
rows
The text was updated successfully, but these errors were encountered:
Thanks for reporting.
Unfortunately SQL Formatter is unable to properly distinguish between keywords and identifiers. There are basically two bad choices for it:
SQL Formatter takes the latter approach.
Or put in another way: I could "fix" this bug by introducing another bug.
Sorry, something went wrong.
No branches or pull requests
Input data
Which SQL and options did you provide as input?
Expected Output
Actual Output
Usage
JS API and playground
plsql
15.4.8
It seems that
rows
are treated as identifier not keyword here.The text was updated successfully, but these errors were encountered: