Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
X002548
Not Just a Number
15586 Posts |
Posted - 2007-10-12 : 13:59:09
|
I have a reuest the is going to produce 6 result sets from a singleThe page is a mess, so I don't know what value this is going to beBUT Does any do this? Is there going to be any performance issues?Has anyone else done this?I usually find a way to avoid this, but I can't this timeI would imagine it would be better than 6 sproc callsWhatdya think?Brett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxAdd yourself!http://www.frappr.com/sqlteam |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-10-12 : 14:07:10
|
I've got an application that does this. I'd prefer one result set per object, but they insist having multiples in some cases. .NET handles it very easy as you can put it into a dataset which has multiple data tables (one data table per result set).Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2007-10-12 : 14:19:05
|
multiple result sets are a breeze as tara said.you can even get them all in a SqlDataReader. you just need to use NextResult method._______________________________________________Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenpSSMS Add-in that does a few things: www.ssmstoolspack.com |
 |
|
X002548
Not Just a Number
15586 Posts |
|
X002548
Not Just a Number
15586 Posts |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-10-12 : 14:33:44
|
quote: Originally posted by X002548 Go Chargers!
Bring Schottenheimer back!Let's just hope we smoke the Raiders on Sunday like we always do.Go Bolts!Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
|
|