retrieve output of a SQL stored procedure

Hello everybody, It seem that I cannot find how to do this simple task. I have a SQL server that I managed to connect with mendix through the database connector. The queries get the correct results and everything seem work fine. However, I need to call a stored procedure that as, as output, a table with 2 columns: ‘name’ and ‘email’   I created the statement with the following text: 'EXEC DIEGO_EstraiEmailClienti'   and the the executable callable statement action. But I cannot understand how to retrieve the data as output.   Can somebody please help me?   Thank you :)  
1 answers

guys I’m really sorry,

I just found out that I simply need to use the execute query and not statement also for stored procedures…

Thank you