What are the challenges you face when working across database platforms? Take the survey
Options

WHERE

Hi Team,

SELECT * FROM missingIndex WHERE
......col1 > 0 AND col2 > 0
GO

The WHERE clause is not send to a new line which seems to be a bug.
Just make a copy of your(!) default style and change

Data (DML) / Short DML statements / Collapse statements shorter than 75 characters
List itemes /Place WHERE conditions on new line if there are multiple conditions

The result should be cause we have 58 characters only

SELECT * FROM missingIndex WHERE col1 > 0 AND col2 > 0
GO

Or at least

SELECT * FROM missingIndex
WHERE col1 > 0 AND col2 > 0
GO

Thanks for fixing this!

Torsten
Friend of Redgate
Tagged:

Comments

  • Options
    James RJames R Posts: 104 Silver 4
    Hi Torsten,

    Thanks for reporting this! I've easily reproduced this here, hopefully we'll have a fix in the next week.

    Regards,
    James
    Software Engineer
    Redgate Software
Sign In or Register to comment.