This seems simple...
How do you store a multi-line string so your code stays nicely formatted.
Doing this is ugly
DECLARE @myStr NVARCHAR(MAX)
SET @myStr = 'This represents a really long
string that i need multiple lines for,
dude.'
but the above results in the correct string output:
SELECT @myStr
'This represents a really long string that i need multiple lines for, dude.'
Doing this makes it easier to read my code:
DECLARE @myStr NVARCHAR(MAX)
SET @myStr = 'This represents a really long
string that i need multiple lines for,
dude.'
but results in this:
SELECT @myStr
'This represents a really long string that i need multiple lines for,
dude.'
Is there some special way to escape tabs in a multiline string (like every other language has)..