MySQL Forums :: Stored Procedures :: how to declare cursor in middle of stored procedure


Advanced Search

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
how to declare cursor in middle of stored procedure 1874 BHANU PRATAP MUNAGALA 10/19/2016 03:36AM
Re: how to declare cursor in middle of stored procedure 219 Jon Stephens 10/19/2016 06:21AM
Re: how to declare cursor in middle of stored procedure 267 BHANU PRATAP MUNAGALA 10/19/2016 08:22AM
Re: how to declare cursor in middle of stored procedure 327 Peter Brawley 10/19/2016 09:26AM
Re: how to declare cursor in middle of stored procedure 229 BHANU PRATAP MUNAGALA 10/19/2016 10:04AM
Re: how to declare cursor in middle of stored procedure 316 Peter Brawley 10/19/2016 11:10AM
Re: how to declare cursor in middle of stored procedure 245 Rick James 10/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.