• This can (and should) be done without having to resort to a WHILE loop.

    See Jeff Moden's article here[/url] to see how and why.