How to keep a subquery for an IF on a single when formatting?
Posted: Sun 19 May 2019 05:47
I have this statement:
and every time I format the code, I get this:
I don't see an option under IF formatting to keep subqueries in single line. I have changed several options and nothing works.
Code: Select all
IF (NOT EXISTS (SELECT 1 FROM customer WHERE CustomerId = 1 ) )
BEGIN
END
Code: Select all
IF (NOT EXISTS (SELECT
1
FROM customer
WHERE CustomerId = 1)
)
BEGIN
END