MySQL Forums
Forum List  »  InnoDB

Re: Cursor Problem
Posted by: Malcolm Needham
Date: December 17, 2008 11:24AM

Rama - did you ever get it figured out. I am having a similar problem on version 5.0.67. MySQL doesn't like this:

DECLARE cur1 CURSOR FOR SELECT * FROM work_flights ;

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DECLARE cur1 CURSOR FOR SELECT * FROM work_flights' at line 1

I can't get it to take ANY cursor declarations.

Options: ReplyQuote


Subject
Views
Written By
Posted
5343
November 13, 2008 12:54AM
Re: Cursor Problem
2752
December 17, 2008 11:24AM
2658
December 25, 2008 09:33PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.