MySQL Forums
Forum List  »  Stored Procedures

Re: how to declare cursor in middle of stored procedure
Posted by: Rick James
Date: October 19, 2016 11:47PM

I can only think of mathematically unsound reasons for using DECIMAL for slope and intercept (etc). Switch to DOUBLE with out (m,n).

FOUND_ROWS() does not work like you think.

Quite possibly it would be easier to do this code in a real programming language, not SQL.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: how to declare cursor in middle of stored procedure
327
October 19, 2016 11:47PM


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.