title: T-SQL Output Message During execution in SSMS
body: <p>I have a simple query which loops and I want to see the PRINT messages during the execution. The query is something like this:</p>
  <pre><code>WHILE 1 = 1
  BEGIN
      WAITFOR DELAY '000:00:10'
      PRINT 'here'
  END
  </code></pre>
  <p>The <code>PRINT 'here'</code> does not output until I stop the process. However, I want to see it while it's running. Is this possible?</p>