tags:

views:

337

answers:

3

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
+1  A: 

A cursor is a server side thing. You can't "return" this to a client.

adatapost
A: 

mysql doesn't support client-side cursors. they exist ONLY in stored procedures.

longneck