dbTalk Databases Forums  

Replacing Aggregations using DSO

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


Discuss Replacing Aggregations using DSO in the microsoft.public.sqlserver.olap forum.



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

Default Replacing Aggregations using DSO - 08-25-2004 , 08:49 AM






Hi,

I'm using DSO to set aggregations in a partition. Using
the following code I can add additional aggregations to
the existing ones.

For Each dsoAggregation In
dsoPartitionAnalyzer.DesignedAggregations
dsoPartition.MDStores.Add dsoAggregation, 1
Next

Q - how do I replace the existing aggreagations?

Ta!
Paul

Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Replacing Aggregations using DSO - 08-25-2004 , 12:58 PM






Look at the sample code in the Partition Manager in the SQL Server 2000
Resource Kit. It allows you to add/remove/edit aggregates by-hand. The VB6
code is included in the kit.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Paul" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I'm using DSO to set aggregations in a partition. Using
the following code I can add additional aggregations to
the existing ones.

For Each dsoAggregation In
dsoPartitionAnalyzer.DesignedAggregations
dsoPartition.MDStores.Add dsoAggregation, 1
Next

Q - how do I replace the existing aggreagations?

Ta!
Paul



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

Default Re: Replacing Aggregations using DSO - 08-26-2004 , 03:27 AM



Dave,

Thanks for the info. I haven't been able to find any for
sale as it seems to be out of print, but a collegue is
lending me a copy.

Ta
Paul


Quote:
-----Original Message-----
Look at the sample code in the Partition Manager in the
SQL Server 2000
Resource Kit. It allows you to add/remove/edit aggregates
by-hand. The VB6
code is included in the kit.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and
confers no rights.

"Paul" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:ccdb01c48aaa$6538a120$a501280a (AT) phx (DOT) gbl...
Hi,

I'm using DSO to set aggregations in a partition. Using
the following code I can add additional aggregations to
the existing ones.

For Each dsoAggregation In
dsoPartitionAnalyzer.DesignedAggregations
dsoPartition.MDStores.Add dsoAggregation, 1
Next

Q - how do I replace the existing aggreagations?

Ta!
Paul


.


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.