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