2

Is there an easy way to find out the column dependencies between tables in the DSV of a cube? The reason I am asking this question is: When there are lots of tables (fact and dim tables) in the dsv, it is hard to follow the lines.

Help appreciated!

4

3 回答 3

0

您可以右键单击箭头并点击编辑属性,它会告诉您匹配的表的列,以及这些表是什么。这有点乏味,但它会让你到达那里。

于 2009-07-07T18:32:23.037 回答
0

The easiest way to do this would be to create a new diagram with just the tables you were interested in.

Whe you are editing the DSV, in the top left corner is a "Diagram Organizer" right click and choose the option to add a new diagram. This allows you to setup a sort of "view" of a sub-set of the tables in your DSV. Then you can right click on this empty diagram, add one or more of the tables that you are interested in and then you can right click on these tables and choose the "Add related tables" option until you have drilled as deep as you need to into the relationships.

于 2009-07-09T01:14:47.027 回答
0

在文本编辑器中打开 DSV 文件并向下滚动到底部。在那里您会找到一个名为<xs:appinfo>. 关系都在那里定义,像这样(例如):

<msdata:Relationship name="Data-TimeDimension" 
msdata:parent="dbo_TimeDimension" msdata:child="Data" 
msdata:parentkey="Date" msdata:childkey="ClickDateHour" 
msprop:Description="" 
msprop:IsLogical="True" />

根据您的需要,您可以应用 XSL 转换并生成一个 html 页面,或者编写一个程序来解析它并以其他格式将其转储出来。

于 2010-02-09T02:30:37.673 回答