what about a situation where by the current snapshot doesn't contain the last data especially in a case like the employee is fired or left the job and that information is reported in a different table .How do you update the previous date and at that point will you maintain the current flag as 'Y' or'N'
Thanks for the kind words buddy :) Please consider subscribing to my other channel as well it will really help me ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
Very well explained. I had an issue where I had implemented SCD 1. Later SCD 2 replaced it. I would say SCD 4 is a more elegant way. Great job! thanks for this video
Hi Vivek, Thank you for this video. It helps me a lot. I have watched several training in SCD but they made me much more confuse. But this video helped me to understand. Just I want to mention that as far as I know the surrogate key should change in each update in SCD2.
Thanks buddy for the kind words, Please consider subscribing to my other channel as well, it will really help me :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
Thanks a lot for the kind words. I would really appreciate if you help me in my new Initiative "An Indian Abroad" by subscribing viewing and sharing. ru-vid.com
Thanks buddy for the kind words. Please consider subscribing to my other channel as well ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
@shukri thanks for the kind words. Please consider subscribing to my other channel as well. It will really help me. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
Thanks Vijay for the kind words :) please consider subscribing to my other channel as well.it will really help me ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
Hello Vivek ..thanks for sharing. I noticed that for SCD Type 3 example (at 14:50) when the salary value changes, you left out to put prev_salary and current_salary in the table although you did explain in your video that if there are more than one column change for each column there must be both previous and current values to be kept in DW.
Thanks Vin for the kind words I have a small request I am working on this new youtube channel, I Would love it if you watch and subscribe to it as well. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-GnVn3mPBRz4.html
Lol i was asked this in an inteview. I said I've never heard of it. After watching this video, it turns out that I've been working on SCD for severals years now. 😂😂 I just didn't know they were called as such.
Thanks Udi Tech for the kind words, I have a small request.I am working on this new channel and will really appreciate if you watch and subscribe to it ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-j7RrxEnZ_8E.html
Thanks Jyoti for the kind words. Please consider subscribing to my other channel as well. It will really help me. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
Thanks Neha , Please consider subscribing to my other channel as well it will really help me :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
@Vivek, Thanks for your kind words. It made my day :) Please consider subscribing to my other channel as well. It will really help me. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
Thanks Dipti for the kind words, I have a small request. I am working on this new youtube channel and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IP2Vn6jK8Hg.html
Thanks, Vivek, really its very good video to understand SCD. If you have any video with the practice session plz share a link for the same which helps more clear.
Dear Sir , is primary or surrogate key in SCD2 will remain same for multiple entry of the same record ? As mentioned in this clip if it will remain same then how will we update the previous record ?
Thanks Usha for the kind words. I have a small request I am working on this new channel "An Indian abroad" and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
Thanks Hiren for the wonderful comment. I have a small request I am working on this new youtube channel and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HBQHekM1U2c.html
In SCD usually you will have a surrogate key to uniqely identify every record also you will have a start_date end_date and /or a flag to identify the old and the latest records :)
Hi Vivek..very nice explanation..!! I have one question - for SCD 4 why we need to maintain two different tables for latest snapshot and history, we can just create a view on our SCD2 dim with condition 'to_date='12-dec-99' for the latest snapshot data and normal 'As-is' view for historical data. Please let me know if I'm missing anything. Thanks again..every video of yours is really helpful.
Very clear explanation One question - On SCD2 Main table and SCD 4 History table, the amount of data will be same Plus SCD4 will occupy more memory than SCD2 to store one extra table. But, if we need 2 reports it is better to have one extra table so that quering is fast. In such scenarios , SCD2 is better or SCD4?
Thank you for not having an accent so thick that you can't be understood! There are times that I have pulled videos like this and the speakers accent is so bad that they would be better off speaking their native language!
Thanks a lot sreejith for the kind words, you made my day. I have around 80 videos and your comments boosted my confidence to make many videos. Thanks a lot again.
Thanks Ahmad Syed for the kind words. I have a small request, I am working on this new channel please do watch and subscribe to it. Your support is my motivation. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JobONiVWA9Q.html
Hello thank you very much for this. For SCD type II, in your example, what happens if you are pulling data from the source every day and some day the id 123 doesn't come? How will you reflect that change in your data warehouse table? and what if then the id 123 comes again? Is this possible? Thanks
Question: In SCD3 why columns are created for only location, When it comes to change in dimensions for salary & date , why there is no columns for that ? Is SCD3 rule by default consider particular column type ? I do understand that these type does not consider past history, but why then its maintain past history for location ?
Explanation was very precise and through the point.I really like the way you explained..!! Could you please explain the concept of granularity in depth and its significance.. Thanks in advance.!
You can use the date when you recieve the row for the 1st as created date, whenever you recieve an update for that row you can use that as updated date. The only conern here is if the update to your olap system is not on a daily basis your created ( start) and updated (end) date may not show the perfect picture.
Thanks Bhaskar for the kind words :) Please consider subscribing to my other channel as well. It will really help me. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
Thanks for the kind words.I have a small request, I am working on a new channel " An Indian Abroad" and it will really help me if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
Thanks a lot Ravi for the kind words. I have a small request, I am working on this new channel and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
wouldn't the SK which in your example appears to be ID change when you apply SCD 2? You have kept 123 for all the records in DW while applying SCD 2. As SK is also PK I don't see how it would work. Please confirm.!