“I do not want a line break after the and statement.”
I’ve seen this come up a few times, so let’s answer that right now.
SELECT 1 FROM dual WHERE 1=2 AND 2=3 AND 3=4
Default formatting changes that to
SELECT 1 FROM dual WHERE 1 = 2 AND 2 = 3 AND 3 = 4
This is NOT what the person asking for help wants.
To the Preferences!
So let’s change that and see what happens.
Speaking of OR