Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Breaking out of a DoWhile Loop

Author  Topic 

Fflyer
Starting Member

8 Posts

Posted - 2001-09-12 : 15:18:37
I have a DoWhile Loop that loops on an EOF condition. However, if a counter reaches a certain number prior to searching through all 8 million records, I want to break out of the loop to another section of code (in ASP). Any ideas on how to do this without causing row integrity navigation errors?

Thank you,

Chad

   

- Advertisement -