 |
| Administrator |
 |
Joined: Tue 07 Jun, 2005 17:34 Posts: 522 Location: Heidenreichstein, Austria
|
|
Hi,
you may be looking for cursors (http://dev.mysql.com/doc/refman/5.1/en/cursors.html).
Be aware that many (though not all) tasks can be achieved with a single SQL statement and usually with better performance. If there is a way to do the updates by direct SQL queries it's almost always faster than by a cursor, so you should only use them if there is no other way to achieve what you want to do.
Cheers, Markus
_________________ --- mpopp.net --- http://www.mpopp.net ---
|
|