Hi All,
Currently in our DWH we perform a complete extract of all data from the source tables in Staging and perform a SCD on it on a daily basis (I know this is what sucks). But I now want to extract just the changed records from the source table instead of extracting the entire data from the source and performing a complete refresh and re-build the whole DWH on a daily basis. My problem is that I don't have any TIMESTAMP on the source tables (mostly oracle tables) which give me any Idea of the change dates.
Can I perform a CDC on such a source which does not have a TIMESTAMP column on any of the source tables? I have never used a CDC transform before but was looking at DI studio General CDC, does this transform help in my case?
Any help on this would be helpful and appreciated.
Regards,
Vishant
PS: I am using SAS DI Studio v 4.7
Added the SAS DI Studio transform code as Solution which was my SAS Global forum 2016 Presentation.
Regards,
Vishant
I haven't used the CDC transformations so this will be a bit theoretical.
DI Studio transformations generates code. It can't do magic. If you have no support in your source data for doing any clever CDC logic, I can't see that the transformations can help you.
Oracle is a capable database. It should be fairly easy to add a timestamp in your source table(s). The same goes for implementing a change table.
Hi Linus,
Don't we all wish for an ETL tool which can do magic between the Source and Target and give us the required solution I just wanted to explore possibilities on CDC, but I guess there are none for my current requirements. Thanks for your answer though.
I might just go with a PROC COMPARE solution between the Source and current Staging datasets to do a CDC.
Or I will wait if someone else has any answer to this.
Regards,
Vishant
Added the SAS DI Studio transform code as Solution which was my SAS Global forum 2016 Presentation.
Regards,
Vishant
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.