sql-formatter
sql-formatter copied to clipboard
[FORMATTING] PLSQL incorrect format of "for update" syntax
Oracle sql text:
select * from andy.t_test for update;
Expect output:
select *
from andy.t_test for update;
output in demo website:
select *
from andy.t_test for
update;
Thanks for the bug report.
Unfortunately this is currently pretty hard to fix. Problems like this are the reason why we're looking into doing some major architectural changes in the formatter.
Found a simpler way of fixing this. Released in 10.2.0.