Hi,
I saw that there are two types of mapped SP: Action and Retrieval. My problem is that I have store procedures that make both in the same SP. how can I handle it ? Thanks in advance
The only effective difference between the two is that an Action proc returns 0 resultsets and a Retrieval returns 1 or more.
You can change the number of resultsets in the designer.
If you change it to 0, it becomes an Action proc.
A SP which returns resultset, is a retrieval SP (whatever else it might be doing). A SP which does not return resultset, is an action SP.
So if you want to retrieve results from your SP, you should think of it as a Retrieval SP.