How can I return a cursor from stored procedure in MySQL?
+3
A:
Simply: Don't do it!
Seriously: it's an indication that your design is flawed.
Mitch Wheat
2009-07-30 11:55:14
+1
A:
A cursor is a server side thing. You can't "return" this to a client.
adatapost
2009-07-30 11:58:06
A:
mysql doesn't support client-side cursors. they exist ONLY in stored procedures.
longneck
2009-07-30 15:40:23