dbTalk Databases Forums  

Slowly Changing Dimension design question

comp.databases.olap comp.databases.olap


Discuss Slowly Changing Dimension design question in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Krist
 
Posts: n/a

Default Slowly Changing Dimension design question - 04-26-2004 , 06:43 AM






Hi Olap Gurus,
I have a slowly changing dimension question, pls help..
(using MSSQL 2000 Analysis Service)

Within the operational database I have :
Create Table Salesman (
Salesman_Code char(5) Primary Key,
Supervisor_Code char(5),
Address char(30),
Email char(30),
LastUpdate DateTime
)
Within the datawarehouse I have :
Create Table Salesman_Dim (
Salesman_Id Int Primary Key , // surrogate key
Salesman_Code char(5),
Supervisor_Code char(5),
Created_On datetime
)
I want to handle, e.g : the salesman whose supervisor change in the middle
of the period.
Suppose the Supervisor changes on 15 January, transaction <= 15 January must
use old surogate key, after that must use new surrogate key.
The problem is LastUpdate is changed when ANY column of Salesman table is
changed.

For the good datawarehouse database design, how should I handle this ?
(I avoid to code this on Trigger on operational database)

Thank you for any help,
Krist

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.