having something like this: CASE WHEN ... WHEN ... WHEN ... THEN ... is not creating a line break after each WHEN command. right now its beiing displayed like this: CASE WHEN ... WHEN ... WHEN ... THEN ... With a lot of CASEs, this is getting difficult.