Simple Cursor Traversal 2Developed In: SQL — Contributed by: Serdar S. KacarIn this template, there is no loop control variable (like "done") and no label (like "MyLabel:"). For the "my cursor traversal code is not looking good" type of freaks :) Note : Template is the convertion of the sample given in "Cursors" topic of MySQL manual, Beware : 1. There is a secondary BEGIN .. END envelop between OPEN cursor and CLOSE cursor. 2. NOT FOUND handler moved to the inner BEGIN .. END and its action is EXIT !
SQL
No Comments yet |
VotesWatches2 members are watching this tool
You must be logged in to track this tool.
Provide Feedback
You must be logged in to comment
|