Skip to main content
Question

SQL executor doesn' generate output with a stored procedure


pschout
Participant
Forum|alt.badge.img+2

I will run a stored procedure (in a MySQL db) with the SQL executor but is doesn't generate output. I'm not so familiar with running stored procedures. See the attached picture, it seems the procedure is running correct. Is there a way to get output through the result port?

4 replies

david_r
Evangelist
  • November 6, 2020

I have no experience with MariaDb, but as long as your stored procedure can return the result as a table/cursor (let's say the results from a SELECT statement), I would expect it to work.

What exactly is being returned?


pschout
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • November 6, 2020

Thanks David for your repley, at the moment nothing is returnd but it should be a table like this :

 

Table Procedure


david_r
Evangelist
  • November 6, 2020
pschout wrote:

Thanks David for your repley, at the moment nothing is returnd but it should be a table like this :

 

Table Procedure

What does the source code of the stored procedure actually return? What exactly is the datatype of the returned object?


pschout
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • November 9, 2020

The source code returns a set of rows similar to a select statement. The procudre makes joins and performs some calculations. (I am not the designer of the source code.) The output data types are a combination of strings, numbers and dates.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings