Stored proc problem

Posts   
 
    
Posts: 35
Joined: 10-Sep-2006
# Posted on: 15-May-2008 20:50:35   

Hello I'm running LLBL 2.5. I have a sp that is run a dynamically generated sql statement. The sp is basically exec('Select * from foo') - there is some business logic before it to get the select just right - but I can't get LLBL to recognize this sql - I look at the schema browser and it sees but thinks it has 0 result sets. And when the GUI does add it it wants to do so as an Action procedure. Any ideas?

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 16-May-2008 10:06:31   

Please go to the Catalog Explorer (in the right side of the screen), and navigate to the specified SP, click open the Amount Resultsets node, you'll see '#0', select it, RightClick-> alter it and set it to 1 or 2.

Posts: 35
Joined: 10-Sep-2006
# Posted on: 16-May-2008 14:12:53   

That did the trick... never knew that was there.. thanks!