Please explain me the difference between 3 types of slowly
changing dimension in datawarehousing?

Answer Posted / rameshgoud

scd1-> with this process we can maintain only updated data,
for ex- if a record inserted in source then the same record
should be inserted in targer, if a record updated in the
source then same update should process in target, so here
we cant maintain the history

scd2->with this we can maintain current data and complete
historical data by adding the start_date and end_date of
the records in the target table. If a records get updated
in the source same record will insert in the target as new
record and the old record is updated with end date as
todays date. Like wise we there will no be any deletion of
records, so we can maintain the compelte history here.

scd3-> using this we can maintain current and recent
historical data only
for every source possible changing column we need two
target columns as NEW_COLUMN indicates current data and
OLD_COLUMN indicates recent historical data
when a new record getting loaded source data is always
loded in NEW_COLUMN in target
when a record is midified target NEW_COLUMN is updated in
target OLD_COLUMN and source data is updated in target
NEW_COLUMN.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many Key we can define in remove duplicate stage?

818


What is the difference between server job and parallel jobs?

662


How do you reject records in a transformer?

624


What are the primary usages of datastage tool?

623


Describe routines in datastage? Enlist various types of routines.

579






Differentiate between datastage and informatica?

722


What are data elements?

655


if i have two tables table1 table2 1a 1a,b,c,d 1b 2a,b,c,d,e 1c 1d 2a 2b 2c 2d 2e how can i get data as same as in tables? how can i implement scd typ1 and type2 in both server and in parallel? field1 field2 field3 suresh , 10,324 , 355 , 1234 ram , 23,456 , 450 , 456 balu ,40,346,23 , 275, 5678 how to remove the duplicate rows,inthe fields?

1743


explain about citrix scheduling tool in datastage

1808


I have a few records just I want to store data in to targets cycling way how?

1895


what are .ctl(control files) files ? how the dataset stage have better performance by this files?

2179


What is "fatal error/rdbms code 3996" error?

663


hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals

1463


Is the value of staging variable stored temporarily or permanently?

573


Have you have ever worked in unix environment and why it is useful in datastage?

645