|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Result set from stored procedureThis is probably stupid, but can I have 3 selects in my stored
procedure and get the results back from all of them? I have a set of data and I need to get 3 sets of totals based on different criteria. I've declared my tables, inserted/updated the data in the tables and then have my 3 selects. When I run the s.p. in Query Analyzer, I get the 3 sets of totals. However, when I try to pull the data into a report using SQL Reporting Services, I can only get the results from the first table. Am I missing something here? And, I did consider using 3 separate s.p.'s but it doesn't make sense to do it that way. Thanks! |
|||||||||||||||||||||||