SET statement wrapping
Posted: Fri 27 Jun 2014 16:21
First, I have a paid license to SQL Complete.
I have SQL SET statements that assemble messages. For example (this is all one long, unwrapped line):
When I format this with SQL Complete, it breaks the line after a plus sign (nice!):
I am fine with that, but note that it does not indent the wrapped line. I cannot find where in the formatting Profile to tell it to indent such wrapped lines. I would prefer:
Where can you set this kind of wrapping behavior for SET statements?
Thanks.
I have SQL SET statements that assemble messages. For example (this is all one long, unwrapped line):
Code: Select all
SET @message = 'Start [some processing step] MonthEnding: ' + CONVERT(VARCHAR(25), @MonthEnding, 107) + ', and User = ' + @UserName;
Code: Select all
SET @message = 'Start [some processing step] MonthEnding: ' +
CONVERT(VARCHAR(25),@MonthEnding, 107) + ', and User = ' + @UserName;
Code: Select all
SET @message = 'Start [some processing step] MonthEnding: ' +
CONVERT(VARCHAR(25),@MonthEnding, 107) + ', and User = ' + @UserName;
Thanks.