Maximize the power of SQL Prompt with SQL Toolbelt Essentials. Watch now.

Style Not Formatting Correctly

BR23BR23 Posts: 2 New member
I created a style and it was working fine.  Then all of a sudden some things stopped working. For instance I set the Join to look like this below. It looks fine in the preview mode when creating the style.

SELECT *
FROM dbo.TempTable
    INNER JOIN dbo.TempTable2 ON TempTable2.id = TempTable.id;

However, when I actually apply the style it moves the ON to another line. I don't have the box checked to do this and the line is not long enough where it should wrap.  Any ideas would be appreciated.

SELECT *

FROM dbo.TempTable

    INNER JOIN dbo.TempTable2

        ON TempTable2.id = TempTable.id;

Answers

Sign In or Register to comment.