dbTalk Databases Forums  

Design Aggregations in VBScript using DSO

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


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



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

Default Design Aggregations in VBScript using DSO - 09-24-2004 , 04:19 AM






Hi

I am trying to design new aggregations in VBScript. Is this possible?

When I try "oPartitionAnalyzer.NextAnalysisStep(dblPct, dblSize, lCnt)" step
it always fail with the following message: "Type Misamtch". If I don't pass
it any parameters (all three values are output) it says that parameters are
not optional.

Has anyone managed to do this or does it have to be done in VB6?

Thanks

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

Default Re: Design Aggregations in VBScript using DSO - 09-24-2004 , 04:45 PM






Certainly it is possible with VB6. Find a copy of the SQL Server 2000
Resource Kit and install the Partition Manager Utility. And alternate source
is to install SSABI and look in the tools folder. There was an enhanced
version of the Partition Manager utility called the Partition Aggregation
Utility which allowed additional functionality that SSABI required, such as
resetting the dimension and partition counts by-hand.

The entire utility is written in VB6 and is available in source code.

Another source is the Partition Explorer done by Erik Thomsen for his SQL7
"Microsoft OLAP Solutions" book. It still runs for the most part on SQL 2000
(and source is included there as well). Either purchase Erik's book or look
here:
http://www.dsslab.com/MSOLAPSolutions.html

Hope that helps.


--
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.

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

Quote:
Hi

I am trying to design new aggregations in VBScript. Is this possible?

When I try "oPartitionAnalyzer.NextAnalysisStep(dblPct, dblSize, lCnt)"
step
it always fail with the following message: "Type Misamtch". If I don't
pass
it any parameters (all three values are output) it says that parameters
are
not optional.

Has anyone managed to do this or does it have to be done in VB6?

Thanks



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.