Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subsequent query against result set...
Message
De
04/08/2002 10:31:20
 
 
À
04/08/2002 00:28:17
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00685795
Message ID:
00685965
Vues:
45
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform