![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
How to solve this. 1) Get a copy of the Metadata Scripter on the SQL Server 2000 Resource Kit. Install it on your system. I believe that you will need VB6 to do this. 2) Run your program to remove the dimension. Then run the Metadata Scripter and generate program 1. 3) Put back your dimension and remove the dimension with Analysis Manager. Then run the Metadata Scripter and generate program 2. 4) Run windiff (or any compare program) to compare program 1 and program 2. There is probably some property or attribute which Analysis Manager is doing that you aren't aware of. This is a common problem trying to emulate AM (that it sometimes does non-trivial things behind your back that are unexpected). The Metadata Scripter is your friend in this case. Hope this 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. "Dinnan" <dinnan (AT) tjohoo (DOT) se> wrote in message news:1107260276.520040.281730 (AT) c13g2000cwb (DOT) googlegroups.com... I'm trying to remove a shared dimension from a cube. I'm using DSO to do this. The problem is that when I open the cube in edit mode in Analysis Manager after removing the dimension the dimension table is still there. But the joins to it are removed. I use the following method to remove the dimension from the cube 1. Remove the dimension table from the cubes fromClause list. 2. Remove the dimension table join from cubes joinClause. 3. Remove the dimension from the cubes dimension collection 4. Execute update and process command on the cube. The processing of the cube works fine and the dimension is removed from the list of dimensions in the cube editor but the source table of the dimension is still there. I also tried to remove the occurence of the table from the cube's custom property "SchemaLayout" but that did not help. I have searched the repository for occurences of the dimension table but I only found it in the definition of the dimension wich seems ok to me. So my question is: Where does Analysis Manager get the information that this dimension table should belong to this cube? What am I missing? Regards Dinnan |
![]() |
| Thread Tools | |
| Display Modes | |
| |