Stored Procedure return
Posted: Wed 24 Jun 2015 08:54
Dear Sirs,
I have my stored procedure, inside among others i have two SELECT statemets.
The first one is just to loop through records and execute my other function for each of them. The result is irrelevant. The second SELECT is to return message about execution.
When I call procedure from MySQL Workbench or from terminal, I get my message as a result.
When I call it from delphi through TMyQuery, the result consists of first SELECT result.
What to do to obtain the result of second SELECT (as in MySQL clients)?
Michal
I have my stored procedure, inside among others i have two SELECT statemets.
The first one is just to loop through records and execute my other function for each of them. The result is irrelevant. The second SELECT is to return message about execution.
When I call procedure from MySQL Workbench or from terminal, I get my message as a result.
When I call it from delphi through TMyQuery, the result consists of first SELECT result.
What to do to obtain the result of second SELECT (as in MySQL clients)?
Michal