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
 Other Forums
 Other Topics
 rowcount and loop

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-22 : 08:50:45
mark writes "sybase 11.9.2

how can I get an sql statement to loop until certain criteria has been met I.E
a certain number of rows have been counted then delete's the data required then goes to the loop and deletes until it finds no more rows?

Thanks for you help
Mark."
   

- Advertisement -