title: If loop in 'Then' statement of Case statement in SQL Server 2008
body: <p>If I wanted to use <strong>if</strong> condition in <strong>Then</strong> statement of <strong>Case</strong> statement in SQL Server 2008. How to use it?</p>