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 |
diff between OLTP and OLAP? what TOP-DOWN and BOTTOM-UP Approach? which is best? what are Star Schema and Snow Flake Schema?
tab1 tab2 1,a 1,d 2,b 3,c perfoms outerjoin what is the o/p? write sql query for outerjoin?
how can you generate sequence number using only the sequential file stage?
How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.
What is apt_config in datastage?
5) A file contains 10 (1-10) I want trgt like Trgt 1 trgt 2 trgt 3 1 2 3 4 5 6 7 8 9 10
How to reverse the string using unix?
if we take 2 tables(like emp and dept), we use join stage and how to improve the performance?
what is parameterset?
What is the default padding character?
What are the components of ascential data stage?
Name the different sorting methods in datastage.