Explain briefly scd type2 in datastage7.5x2(parallel)
Answer Posted / pranay
scd2: slowly changing dimension 2
SCD2 is used to maintain both current data and historical
data.
for ex: If we are having following data
cid cname city country
101 raju hyderabad India
if we want to implement scd2 for the above data we need to
create target table with columns
scid cname city country flag version date
scid - surrogate key column
and if the customer moves from hyderabad to delhi then the
output will be
scid cname city country flag version
1 raju hyderabad India 0 1
2 raju delhi India 1 2
Flag = 0 defines historical data
Flag = 1 defines current data
Similarly if again raju moves from delhi to mumbai the the
output will be
scid cname city country flag version
1 raju hyderabad India 0 1
2 raju delhi India 0 2
2 raju mumbai India 1 3
n so on..
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how to add a new records into source?
im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination
What are the processing stages?
What are the some differences between 7.x and 8.x version of datastage?
Which warehouse using in your datawarehouse
How to write a expression to display the first letter in Caps in each word using transformer stage ? Please let me know ASAP Thanks in advance...
What is orabulk stage?
What are stage variables and constants?
How can one find bugs in job sequence?
How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?
How to reverse the string using unix?
How to convert RGB Value to Hexadecimal values in datastage?
What is the differentiate between data file and descriptor file?
What is difference between server jobs & parallel jobs?
How we can covert server job to a parallel job?