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 is the default execution order of the sequential file?
How can we select pr retrieve the particular row in dataset by using orchadmin command?
If I make any changes in the parallel job,do I need to implement the changes in the sequencer job,else the changes will be reflected automatically
If you want to use the same piece of code in different jobs, how will you achieve it?
IS FILE SET CAN SUPPORT I/P AND O/P LINK AT A TIME?
Hi all, can u explain header and trailer records in file? If a file has header and trailer /master-detail records how will you read it in datastage?
I have a source like file it have Number of records and i want to load without first and last records in target?Datastage?
how can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction
whom do you report?
What are the job parameters?
can we see the data in fixed width file? how can u change the datatype of fixed width files?
how to retrive the max(sal),deptno,empno in datastage?