title: How to organize infinite while loop in SQL Server?
body: <p>I want to use infinite <code>WHILE</code> loop in SQL Server 2005 and use <code>BREAK</code> keyword to exit from it on certain condition.</p>
  
  <p><code>while true</code> does not work, so I have to use <code>while 1=1</code>.
  Is there a better way to organize infinite loop ?</p>
  
  <p>I know that I can use <code>goto</code>, but <code>while 1=1 begin ... end</code> looks better structurally.</p>