I think you need to write the whole logic in the stored procedure itself. Also, you need to declare a table type equivalent to your output and this needs to be placed as the output parameter of your procedure.
Regards,
Nithin
I think you need to write the whole logic in the stored procedure itself. Also, you need to declare a table type equivalent to your output and this needs to be placed as the output parameter of your procedure.
Regards,
Nithin