资讯

Sometimes when using a condition-controlled (WHILE) loop there may be a situation where the program loops forever. This situation is known as an infinite loop.
Tim Chapman discusses your iteration choices in SQL Server 2008 and explains why determining which option performs better depends on the situation.