MySQL Forums
Forum List  »  Stored Procedures

Re: Not able to find problwm with this small stored proc
Posted by: Peter Brawley
Date: March 13, 2015 11:20AM

> I get into trouble.

What trouble?

Programmers unused to SQL often make the mistake of trying to solve data retrieval problems procedurally. SQL is set-based, so query solutions are much preferred where possible. In the problem you're trying to solve, what requires cursors, ie how did you prove that straight SQL queries could not solve the problem?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Not able to find problwm with this small stored proc
895
March 13, 2015 11:20AM


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.