Many-To-Many dimensional model

Posted by Mevdiven on Stack Overflow See other posts from Stack Overflow or by Mevdiven
Published on 2010-01-06T20:32:20Z Indexed on 2010/05/18 2:40 UTC
Read the original article Hit count: 321

Folks,

I have a dimension table called DIM_FILE which holds information of the files we received from customers. Each file has detail records which constitutes my FACT table, CUST_DETAIL. In the main process, file is gone through several stages and each stage tags a status to it. Long in a short, I have many-to-many relationship. Any ideas around star schema dimensional modeling. A customer record only belong to a single file and a file can have multiple statuses.

FACT
----
CustID
FileID
AmountDue


DIM_FILE
--------
FileID
FileName
DateReceived

FILE_STATUS
-----------
FileID
StatusDateTime
StatusCode

© Stack Overflow or respective owner

Related posts about dimensions

Related posts about database-design