Lukasz,
As you know, a data extension cannot return multiple resultsets. I have
a report(infact, many reports) with two data region. one region displays
details and other region displays summary(it's not just summing up the data.
the summary data has complex business calculation done at the server). One
of the workaround suggested in this new group was to execute the stored proc
twice one with "detail' parameter and other with "summary ". I don't like
this approach because of performance reasons. So, I was researching about
other options. My idea is to create a intermediate request manager.
Here's how i think it shoud work.
Design the report with two data region
Set the first dataregion's quertstring property EXEC stored_proc1 0
, other parameters(0 means return first resultset)
Set the second dataregion's quertstring property EXEC stored_proc1
1, other parameters( 1 means return second resultset)
Create custom data extension which hands over the request to a
RequestManager.
Based on the session id, the request manager executes the stored
proc and returns the first table to first data region and
caches the dataset
For the second data region, If the stored proc is executing , then
it queues the request and returns the second table when the results become
available or from cache.
I know this sounds complicated or may be i'm doing things in round about
way. For me, executing the stored proc twice is not an option. please
suggest me a workaround
thanks
shankar
[quoted text, click to view] "Lukasz Pawlowski [MSFT]" <lukaszp@online.microsoft.com> wrote in message
news:%23fnh959eEHA.3556@TK2MSFTNGP12.phx.gbl...
> Nope. What are you trying to do?
>
> -Lukasz
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "shankar" <sramasubramanian@ozcap.com> wrote in message
> news:eC1pgeyeEHA.4068@TK2MSFTNGP11.phx.gbl...
> > Is it possible to get the session id in Data Extension or Report
Designer
> > thanks
> >
> >
>
>