SQL Server How Do You Iterate Though a Cursor Loop Once When a Specific Condition Occurs -
I have a SQL Server cursor when a specific situation occurs, then I want to leave a repetition of the loop break The cursor moves out of the loop and does not show anything to continue.
Is there an order that says, "Hey, the record is not good then go ahead and leave it and work on the next one".
The way I know that the cursor is bad like the driver who runs 43 mhh in the lane, but as often happens in the software, I get stuck with it.
Thanks
If you do not use a statement only:
If condition exists then I want to update again ...
Comments
Post a Comment