I have four different date attributes which describe an employee's certificate/learning activity.I have created a fact table Learning_Fact with associated dimensions.
As per data warehousing design principles, time wil be a dimension.In this particular case we have four such dimensions with identical structure.
I cannot join these four foreign keys (in Learning_Fact) to the same 'Time' table as SQL would interpret this 4 way simultaneous join as requiring that all of the dates be same(which is not the case).
When implemented, there will be one underlying 'time' table containing dates information. 4 virtual copies of this table will be created with the SQL SYNONYM command.
A view will have to be created on each copy in order to make the field names uniquely different.
With this scenario, I have two questions-
(i) Is this doable in Oracle.
(ii) How to represent this in ERWIN physical model? In ERWIN,when I create a synonym of a table, the synonym is not pictorially displayed.(though it can be seen in the model explorer) Also, when a view is created, it is represented as a dotted lined box in the diagram. I am not allowed to link the view to the table 'Learning_Fact' as only view relationships can be made with view entity(i.e. only the relationships which show the view is created from which tables).
Can anyone please respond asap.
Regards
As per data warehousing design principles, time wil be a dimension.In this particular case we have four such dimensions with identical structure.
I cannot join these four foreign keys (in Learning_Fact) to the same 'Time' table as SQL would interpret this 4 way simultaneous join as requiring that all of the dates be same(which is not the case).
When implemented, there will be one underlying 'time' table containing dates information. 4 virtual copies of this table will be created with the SQL SYNONYM command.
A view will have to be created on each copy in order to make the field names uniquely different.
With this scenario, I have two questions-
(i) Is this doable in Oracle.
(ii) How to represent this in ERWIN physical model? In ERWIN,when I create a synonym of a table, the synonym is not pictorially displayed.(though it can be seen in the model explorer) Also, when a view is created, it is represented as a dotted lined box in the diagram. I am not allowed to link the view to the table 'Learning_Fact' as only view relationships can be made with view entity(i.e. only the relationships which show the view is created from which tables).
Can anyone please respond asap.
Regards