dbTalk Databases Forums  

drillthrough while you have multiple partitions

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss drillthrough while you have multiple partitions in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Moshe
 
Posts: n/a

Default drillthrough while you have multiple partitions - 09-21-2005 , 05:09 AM






Hi,

What is the way to do in ADOMD drillthrough while you have multiple
partitions in the cube?

I manage to do it using OleDbDataReader NextResult() method:

OleDbCommand cmd = new OleDbCommand();
OleDbDataReader dr = null;

cmd.CommandText = "DRILLTHROUGH SELECT From [Sales] Where ...";
dr = cmd.ExecuteReader();
do
{
...
}
while (dr.NextResult());


Reply With Quote
  #2  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: drillthrough while you have multiple partitions - 09-21-2005 , 06:04 AM






Looks correct.

For multiple partitions, AS returns a recordset for each partition.

--
Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell

In article <96244529-30E8-4A34-8D6A-104AFBBE917C (AT) microsoft (DOT) com>,
Moshe (AT) discussions (DOT) microsoft.com says...
Quote:
Hi,

What is the way to do in ADOMD drillthrough while you have multiple
partitions in the cube?

I manage to do it using OleDbDataReader NextResult() method:

OleDbCommand cmd = new OleDbCommand();
OleDbDataReader dr = null;

cmd.CommandText = "DRILLTHROUGH SELECT From [Sales] Where ...";
dr = cmd.ExecuteReader();
do
{
...
}
while (dr.NextResult());



Reply With Quote
  #3  
Old   
Moshe
 
Posts: n/a

Default Re: drillthrough while you have multiple partitions - 09-21-2005 , 06:31 AM



but if I use
AdomdCommand & AdomdDataReader instead of OleDbCommand & OleDbDataReader it
doesn't work.
Is it a bug or there is another way to do it?


"Darren Gosbell" wrote:

Quote:
Looks correct.

For multiple partitions, AS returns a recordset for each partition.

--
Regards
Darren Gosbell [MCSD]
dgosbell_at_yahoo_dot_com
Blog: http://www.geekswithblogs.net/darrengosbell

In article <96244529-30E8-4A34-8D6A-104AFBBE917C (AT) microsoft (DOT) com>,
Moshe (AT) discussions (DOT) microsoft.com says...
Hi,

What is the way to do in ADOMD drillthrough while you have multiple
partitions in the cube?

I manage to do it using OleDbDataReader NextResult() method:

OleDbCommand cmd = new OleDbCommand();
OleDbDataReader dr = null;

cmd.CommandText = "DRILLTHROUGH SELECT From [Sales] Where ...";
dr = cmd.ExecuteReader();
do
{
...
}
while (dr.NextResult());




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.