Start a new topic

SQL Formatter SELECT DISTINCT on same line

 Allow SELECT DISTINCT on same line when Line Break after SELECT has been selected.


ie SELECT DISTINCT should not be

SELECT

    DISTINCT col1 ...


but should be


SELECT DISTINCT

    col1 ...


1 person likes this idea

Any movements on this? Or some way to track if this change/improvement has been looked at in the past 4 years?


1 person likes this

Thanks!


I will add your votes for that improvement. 


Regards


Roger

Version 11

Brian,


Which version are you using?


Regards


Roger

I agree with Brian. After all, the DISTINCT keyword refers to the whole record not just col1.

 

Login or Signup to post a comment