WHAT ARE THE STAGES U WILL USE IN IMPLEMENTING SCD2/DATE
FIELD
Answers were Sorted based on User's Feedback
Answer / praveen kumar
Hai this is praveen kumar yenduri,
from my knowledge.....
in SlowlyChangingDimension ---type 2
we use the stages are Chance Capture Stage,Transformer
Stage,Join Stage and we have to generate once sequence
generator and one stored procedure......
As kiran said he explains only the half of the topic..
the concept is....
the SCD-type2 means...when ever the record is
inserted,updated,deleted...the target table had to be get
updated everytime....that the thing for this case...
we have to use the change capture stage..when using change
capture stage it takes 2 inputs..one is target RDBMS,second
one is Recent RDBMS,as defining the target one as "before"
link and source..ie.,recent as "after"...from that we can
have some change codes ...basing on that codes we can
perform the operations...after getting the change codes...it
had to send to transformer stage their basing upon the codes
the stored procedures had to taken...thats the topic
goes...once you get the idea you can do it....
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / kiran
Hai..,
This is Kiran.
In SCD's type we r using change capture and transfernar
stage.
date fields are using in target level as Eff_start_date and
Eff_end_date.
Eff_start_date=current date
Eff_end_date =Currentdate-1.
If any mail me
Regards
Kiran
9393363309
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / p.ganesh
SCD 2 TYPE IS USED TO MAINTAIN CURRENT AND HISTORICAL
DATA,FOR THAT I CAN USED LOOKUP,TRANSFORMER,FILTER AND STORE
PROCEDURE STAGES.FOR DATE FIELD WE CAN SELECT THE CURRENT
TIMESTAMP IN FUNTIONS IN THE TRANSFORMER STAGE.
SF--LOOKUP--TRANSFORMER/FILTER1--STOREPROCEDURE--TRANSFOR--TGT
| \FILTER2--STOREPROCEDURE--TRANSFOR--TGT
RDBMS
\FILTER3--TARGER
STOREPROCEDURE IS USED FOR GENERATE THE SID VALUES.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pavani
scd type 2 stage used for the maintain the history,why we
are using the date function is that record is presently
record or past record identification purpose so for the past
record end_date is present record start_date these date
function used in tranformer stage.in this tranformer we
append 2 new coloumns that column names are start_date&
end_date as per my knowledge
this is pavani.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sai
by using change capture and change apply stages we can do
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajeshchunduri
in datastage 8.0.1 version we have a stage scd.
give new data i/p link to scd stage and old data link to
transformer and from transformer give it to scd. from scd we
ger to o/p links one is fact and other is dimension.now
update date comes to dimension table.
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / swetha
Basically scd type2 used for mantain the history.
so we use the stages are Change Capture Stage,Transformer
Stage,Join Stage and we have to generate once sequence
generator and one stored procedure,remove duplicate stage.
Is This Answer Correct ? | 0 Yes | 2 No |
What are the different kinds of views available in a datastage director?
How to Convert a string function to date function by using only sequential file stage with out using other stages ?
why we use hash file for lookup?
when U have a remove dublicate option in sort stage, why we have a remove dublicate stage in PX, thought it is recamended to sort data before using a remove dublicate stage. I hae been thinking this from days....
What is mapping?
How to enter a log in auditing table whenever a job get finished?
What is a range lookup?
To see hidden files in LINIX?
1.i have 5 jobs(1-5),i connect with each other,i want run from 3-5 only how? 2.how to schedual the job in datastage7.5 2? what is the deff bet grip and fgrep command? how do you cleanse the data in your project
What is the difference between hashfile and sequential file?
1.how to generate even numbers in surrogate or tranformar stage ? 2. how many ways to remove duplicate values?
What is the difference between lookup and sparse lookup?