Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subsequent query against result set...
Message
From
04/08/2002 10:31:20
 
 
To
04/08/2002 00:28:17
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00685795
Message ID:
00685965
Views:
46
Thanks for everybody's help.

I discovered that a stored proc will return multiple result sets. For some (obviously incorrect) reason, I thought a single SP would only return 1 result. But if I do a...

SELECT SOURCETABLE.* INTO #TEMPTABLE JOIN 'BLAH BLAH' WHERE 'BLAH BLAH'
SELECT * FROM #TEMPTABLE
SELECT ACCOUNT,SUM(AMOUNT) FROM #TEMPTABLE GROUP BY ACCOUNT
GO

I get a dataset at the other end with two data tables inside...just the way I needed it!

Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform