![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I need to programatically build dimensions and cubes with MSAS 2000. It would help if i have soime sample code to begin with. Can you please provide links so that i can download sample code? Here is what i am trying to do. -- Build dimensions with source as an SQL SELECT statement. -- Build various partitons with appropriate time filters. -- Create aggregations. Thanks, Sam. |
#3
| |||
| |||
|
|
The best resource for you is to get a copy of the Metadata Scripter application on the SQL Server 2000 Resource Kit. I believe that as a book that it is out of print, but many copies were sold. It is also on the Resource Kit CD/DVD on a Technet subscription. Using the metadata scripter you can generate your own "sample" from your actual objects :-) Here is the info from the CD: Meta Data Scripter (MetaDataScripter) The Meta Data Scripter (MetaDataScripter) sample is located in the ToolsAndSamples\MetaDataScripter folder on this Microsoft SQL Server 2000 Resource Kit CD. The Meta Data Scripter sample provides an excellent way to exploit the features of Decision Support Objects (DSO). You can use the Meta Data Scripter for tasks such as repopulating meta data for objects, copying meta data for objects to a different database, creating copies of objects on different servers, in different databases, or with different names. The Meta Data Scripter consists of a Microsoft® Visual Basic® 6.0 ActiveX® DLL project used to construct an add-in for Microsoft SQL ServerT 2000 Analysis Services, as well as two Microsoft Visual Basic Scripting Edition (VBScript) template files. The add-in enables you to script the meta data of any object, including dependent objects, that can be selected in Analysis Manager. The add-in generates a VBScript file that uses DSO to re-create the scripted objects. The routines that use DSO to re-create the scripted objects are contained in the Footer.vbs template file included with the sample. The global variables used by the generated VBScript script file are contained in the Header.vbs template file, also supplied with the sample. The Analysis Services add-in copies both files into the generated VBScript file. -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI Systems Team SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Prasad" <Prasad (AT) discussions (DOT) microsoft.com> wrote in message news:89979D32-4401-45C4-91B0-700D3730FC50 (AT) microsoft (DOT) com... Hi, I need to programatically build dimensions and cubes with MSAS 2000. It would help if i have soime sample code to begin with. Can you please provide links so that i can download sample code? Here is what i am trying to do. -- Build dimensions with source as an SQL SELECT statement. -- Build various partitons with appropriate time filters. -- Create aggregations. Thanks, Sam. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
yes...take a look at AMO |
#6
| |||
| |||
|
|
yes...take a look at AMO |
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Can any one let me know whether AMO is programmable in DTS packages using ActiveX Scriupt task if Yes then how. AS DSO was Programmable using using VBScripting in ActiveX script task in DTS and create dynamic partitions in the cube. Any samples or any links is highly appreciated. Regards, Prasanna |
![]() |
| Thread Tools | |
| Display Modes | |
| |