When I format the following statement, it looks as expected with my settings:
BEGIN
DELETE FROM table_name
WHERE column_name IN (SELECT *
FROM DUAL
WHERE 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' = 'X');
END;
/
However, the following statement is not formatted correctly in my opinion:
BEGIN
DELETE FROM
table_name
WHERE column_name IN
(SELECT column_name FROM TABLE(table_function('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')));
END;
/
I would expect this:
BEGIN
DELETE FROM table_name
WHERE column_name IN (SELECT column_name
FROM TABLE(table_function('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')));
END;
/
The right margin is set to 120 in the formatter options.
FmtPlus.opt.txt (1.2 KB)