Hi Redgate Team.

SQL prompts will format the code like this:

Style : comma before
[code]
select *
from tab
where col in (
                 -- xyz
                 N'26544b76-162a-47cc-89a0-4626388b5727'
               -- xyz ( one space less)
               , N'6d009d71-cb2d-4196-ae51-8308827a3257'
             );
[/code]

expected:
[code]
select *
from tab
where col in (
                 -- xyz
                 N'26544b76-162a-47cc-89a0-4626388b5727'
                 -- xyz
               , N'6d009d71-cb2d-4196-ae51-8308827a3257'
             );
[/code]


Style : indented
[code]
SELECT
    *
FROM
    tab
WHERE
    col IN (
               -- xyz
               N'26544b76-162a-47cc-89a0-4626388b5727', -- xyz
               N'6d009d71-cb2d-4196-ae51-8308827a3257'
           );

[/code]

The comments are not aligned - would be nice to see a fix...

Thanks

Torsten
MVP Data Platform




torsten.strauss
0

Comments

2 comments

  • way0utwest
    Confirmed. Comments are misaligned.
    way0utwest
    0
  • torsten.strauss
    In the current version this is still an issue- are you going to fix this ?
    Thanks!
    Torsten
    MVP
    torsten.strauss
    0

Add comment

Please sign in to leave a comment.