MySQL Forums
Forum List  »  Stored Procedures

Re: Using LOOP and cursor
Posted by: Peter Brawley
Date: October 05, 2017 12:19PM

> There is really nothing to join the tables on

If that's the case, no cursor will do the job either.

> table1 number being between table2 number_column1 and number_column2 is the only identifier

Then the join clause would be ... on table1.number between table2.column1 and table2.column2?

For us to understand the requirement, please write that query in English rather than fractured SQL, and please post the Show Create Table result for each table.

Options: ReplyQuote

Written By
October 04, 2017 03:04PM
October 04, 2017 07:07PM
October 05, 2017 08:55AM
October 05, 2017 09:01AM
Re: Using LOOP and cursor
October 05, 2017 12:19PM

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.