Guys please support me in building my new youtube channel "An Indian Abroad " by watching subscribing and sharing with your friends ua-cam.com/users/AnIndianAbroadd
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 ua-cam.com/video/6G1xGi-D5ow/v-deo.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 Jyoti for the kind words. Please consider subscribing to my other channel as well. It will really help me. ua-cam.com/video/6G1xGi-D5ow/v-deo.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 buddy for the kind words, Please consider subscribing to my other channel as well, it will really help me :) ua-cam.com/video/6G1xGi-D5ow/v-deo.html
@shukri thanks for the kind words. Please consider subscribing to my other channel as well. It will really help me. ua-cam.com/video/6G1xGi-D5ow/v-deo.html
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 ua-cam.com/video/j7RrxEnZ_8E/v-deo.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. ua-cam.com/users/AnIndianAbroadd
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. ua-cam.com/video/GnVn3mPBRz4/v-deo.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, 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.
Thanks Vijay for the kind words :) please consider subscribing to my other channel as well.it will really help me ua-cam.com/video/6G1xGi-D5ow/v-deo.html
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. ua-cam.com/video/11DK-oyRql0/v-deo.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. ua-cam.com/video/HBQHekM1U2c/v-deo.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. ua-cam.com/video/IP2Vn6jK8Hg/v-deo.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. ua-cam.com/video/6G1xGi-D5ow/v-deo.html
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.
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 :)
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.!
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!
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.
Thanks Bhaskar for the kind words :) Please consider subscribing to my other channel as well. It will really help me. ua-cam.com/video/6G1xGi-D5ow/v-deo.html
Thanks a lot for the kind words, I have a small request I am working on this new youtube channel " An Indian Abroad " and will really appreciate if you watch and subscribe to it. ua-cam.com/video/11DK-oyRql0/v-deo.html
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?
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. ua-cam.com/video/11DK-oyRql0/v-deo.html
in type2 SCD the surrogate key should also change for new record.In the video it still shows key as 123 for all three records.Surrogate Key is Primary key hence there cannot be duplicates
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 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. ua-cam.com/video/11DK-oyRql0/v-deo.html
In the SCD 2 example the ID column in the datawarehouse table shows same value 123 for both old and updated records. I believe the ID column values should be different 123 , 124 etc.
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. ua-cam.com/video/JobONiVWA9Q/v-deo.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
Guys please support me in building my new youtube channel "An Indian Abroad " by watching subscribing and sharing with your friends
ua-cam.com/users/AnIndianAbroadd
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 video got my final interview with amazon in 2 hours!!
All the very best buddy :)
SCD explained very well and with so much patience. !! Much appreciated... Thanks for sharing the knowledge on it
Thanks for the kind words buddy :)
Please consider subscribing to my other channel as well it will really help me
ua-cam.com/video/6G1xGi-D5ow/v-deo.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
This is very informative, very easy to understand. Thank you so much for this!
I am glad I could help :)
Great video. Thanks a lot Vivek for explaining very simply and clearly!
I am glad Anand I could help :)
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 Majid, with every change ( insert in ScD 2 the surrogate key should increment)
Superlike!! What I like about your videos is that you give real examples.
Thanks a lot shruti :)
Thanks a lot for this video. It really helped me understand SCD and its various types.
I am glad I could help :)
Too good and simple explanation of SCD.. 👍🏻
Very precisely and beautifully explained. I was able to understand each and every thing you explained. 👏
Beautifully explained!
I am glad I could help
Very Good with example & explanation
nice explanation with examples
Awesome explanation.. totally worth it!
Thanks Jyoti for the kind words.
Please consider subscribing to my other channel as well. It will really help me.
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
Simple and easy !! Great work
Thanks a lot for the kind words Mandar :)
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.
Very crisp and to the point.
Thanks buddy for the kind words,
Please consider subscribing to my other channel as well, it will really help me :)
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
@golden,
please consider subscribing to my new channel it will really help me
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
It was knowledge rain for me, thank you brother for the social work!
Thanks dada (bhaiya) for your clear and concise approach to scd.
Thanks buddy for the kind words.
Please consider subscribing to my other channel as well
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
Thank you! Super concise and clear
Thanks a lot buddy :)
best explanation ever you are the best
Thanks a lot Henri :)
Hi..Thank you so much for this valuable information that helps me a lot
Superb explanation understand very easily thank you so much bro......
Thanks Buddy
Excellent performance bro really very nice and clear explanation such containt all the best bro
Thanks Buddy, please consider subscribing to my other channel it will really help me
ua-cam.com/video/gTg6nCUuYO8/v-deo.html
good explanation . Really helpful for me. Tq
I am glad I could help :)
Very well explained with nice example 🙂 thanks
Thanks a lot buddy :)
clear and practical examples. good job
@shukri thanks for the kind words.
Please consider subscribing to my other channel as well. It will really help me.
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
Simple and clear explanation. Thank you Tech Coach.
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
ua-cam.com/video/j7RrxEnZ_8E/v-deo.html
great explanation... thanks for the video
Thanks a lot buddy, I am glad I could help :)
very nicely explained. Thankyou
Thanks a lot Megha
very nice video, good knowledge sharing
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.
ua-cam.com/users/AnIndianAbroadd
well explained; this SCD types always ask during technical interview.
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.
ua-cam.com/video/GnVn3mPBRz4/v-deo.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.
@@gregorclegane7563 exactly bro.. Just now I was asked this.. I said I don't know and searching in UA-cam now. Found this
Very well explained . Thanks
Best explanation ever
Thanks Neha , Please consider subscribing to my other channel as well it will really help me :)
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
@@TechCoach done :)
The way of explanation is damn clear...
Very useful for beginners.
Thanks a ton for this video
+Sivanjaneya Reddy M.V. Thanks a lot for the kind words :)
I would love your support for my new channel, Please watch subscribe and share with your friends.
ua-cam.com/channels/oLdaMxhfDgdgIAcRGlUvkg.html
Thank you it is very helpful for me
Thanks buddy, I am glad I could help :)
amazing explaination.great job bro
Thanks a lot buddy :)
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.
Thanks Mohammad , Unfortunately at this moment i don't have a practice video on it.
Amazing Video (y). Get going!
Thanks a lot Aruna :)
Nicely explained.
Thanks Vijay for the kind words :) please consider subscribing to my other channel as well.it will really help me
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
Very well explained. Thank you!
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.
ua-cam.com/video/11DK-oyRql0/v-deo.html
Thanks. Nice and concise explanation of the different types of SCD.
Thanks a lot for the kind words :)
Thanks a lot for the kind words :)
please upload videos regarding SCD based scenarios wth both SQL and informatica (two approaches) your explanation methodology is very good.
shubham chouhan Sure Shubham I will work on it soon
Thank you very much for this simplest explanation I could find over youtube! Awesome :)
Thanks Sanjay for the kind words :)
thank you for such good video
Thanks Vasupradha :)
Excellent Explanations Skills!!!
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.
ua-cam.com/video/HBQHekM1U2c/v-deo.html
Very nice explanation and real life examples ..kudos
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.
ua-cam.com/video/IP2Vn6jK8Hg/v-deo.html
Really great video ,easy to understand
@Vivek, Thanks for your kind words.
It made my day :)
Please consider subscribing to my other channel as well. It will really help me.
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
Well explained
I am glad I could help
Two Words: Volume Leveling! Had to crank my speakers up to 100% just to barely hear you
Thank you for the clear explanation!
Thanks Pranav for the kind words, This video on Indexing may interest you as well.
ua-cam.com/video/0X9bbtwTnuE/v-deo.html
You deserve much more viewers than now since you narrated the concepts very well,I like your videos, Thanks, dear friend.
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.
Very nice video...just remove subtitles for better understanding...due to that we can not see the tables
Sure Rahul, Thanks for the inputs :)
Good Job!
Thanks buddy
Nice sir 👌 👍 👏 😀 thanks 😊
Thanks a lot Tanushree :)
thank you so much very help full
I am glad I coulf help :)
Hi Vivek,
Your video was very helpful.
Just one query. In case of SCD 2, can we have duplicate value for id??As it has 123 in all the cases.
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 :)
Much appreciated ....
I am glad I could help
Excellent video. Only question is on scd 6. Why did you set old value equal to current value in last row?
Simply awesome
Vivek brother it's awesome
Thanks a lot for the kind words :)
Excellent 😊
This is some wonderful explanation. And they way you explain is so easy to understand and follow. Thank you so much Bro!
Thanks Mohanraj for the lovely words, I am glad I could help :)
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.!
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!
I am glad Russel I could help :)
Nice once Vivek......Keep it up
in SCD0 if we are using the column anymore then doesn't it make sense to delete the column rather than keeping it and not updating?
thats awesome...very well explained..thank you very much bro.
Thanks buddy for the kind words, this video on indexing may interest you as well.
ua-cam.com/video/0X9bbtwTnuE/v-deo.html
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.
A view will run the underlying query everytime it is accesed which may become a big performance hit if it is called often.
Too good 👍👍
Thanks buddy :)
good explanation
Thanks buddy
It’s pretty cool thank you
Thanks Bhaskar for the kind words :)
Please consider subscribing to my other channel as well. It will really help me.
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
I shared to few members
Thank you so much for you explanation, it was very clear!
Thanks a lot for the kind words, I have a small request I am working on this new youtube channel " An Indian Abroad " and will really appreciate if you watch and subscribe to it.
ua-cam.com/video/11DK-oyRql0/v-deo.html
Good one!
Thanks a lot buddy for the kind words :)
Very nicely explained
Thanks Parth for the kind words :)
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?
Informative.
Thanks buddy for the kind words :)
Very informative and concise video. Thanks!
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.
ua-cam.com/video/11DK-oyRql0/v-deo.html
Good info
Thank you so much bhai 💙
Thanks buddy :)
Thank you!
I am glad I could help :)
in type2 SCD the surrogate key should also change for new record.In the video it still shows key as 123 for all three records.Surrogate Key is Primary key hence there cannot be duplicates
Very nice man❤️❤️
Thanks buddy, please consider subscribing to my other channel as well.
ua-cam.com/video/6G1xGi-D5ow/v-deo.html
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 ?
Surrogate key will change, No two rows can have the same surrogate keys
Nice explanation
thanks for the excellent lesson and clear sound
9:52
ID Column I assume as a Primary key in that case in Data warehouse table new ID gets generated or Same ID get repeated?
Thanks. Great video.
Thanks buddy for the kind words :)
Very well explained. Thanks a lot..
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.
ua-cam.com/video/11DK-oyRql0/v-deo.html
In SCD6 current office and history office is given. Then why not current salary and historical salary is mentioned. Is that intentional?
Clear cut explanation
Nice explanation sir good 👌
Thanks buddy for the kind words :)
awesome vid
In the SCD 2 example the ID column in the datawarehouse table shows same value 123 for both old and updated records. I believe the ID column values should be different 123 , 124 etc.
Thanks for the clear explanation
You are welcome Keith :)
excellent stuffs and nicely explained.
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. ua-cam.com/video/JobONiVWA9Q/v-deo.html
Thank you Vivek! this was very helpful.
Regards,
Sujaa
Thanks Sujaa for your constant feedback, It helps me going :)
Very well Explanation. Thank you so much :)
+Ranvir singh Thanks a lot Ranvir Singh :)
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