Stored Procedure returning variable amount of recordsets

Posts   
 
    
G.I.
User
Posts: 172
Joined: 09-Jun-2005
# Posted on: 16-Nov-2005 12:50:31   

Hi,

Before I want to implement it, I would like to know if llblgen pro handles stored procedures returning variable amount of recordsets back. I mean, in the LLBLGen application you can type the amount of recordsets the SP returns, does this really matter?

Based on usersettings the sp can return from 4 up to 10 recordsets... Since in the code the function will just return a dataset in that case, I just want to know the importance of the amount of recordsets returned...

Gr.,

G.I.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 16-Nov-2005 13:24:10   

Just make sure the # of resultset is set to 2 or higher in the catalog explorer and it should be fine. (on sqlserver, on oracle you have a fixed # of return sets, one per output ref cursor parameter)

Frans Bouma | Lead developer LLBLGen Pro
G.I.
User
Posts: 172
Joined: 09-Jun-2005
# Posted on: 18-Nov-2005 09:47:22   

Thanks, it's working perfectly (using MS SQL Server)