SCD: Slowly changing dimensions explained with real examples

Поділитися
Вставка
  • Опубліковано 1 жов 2017
  • The video explains what are slowly changing dimensions, Their relevance in data warehousing and which SCD type should be used in what kind of data scenario.
    The video Explains below with real project examples.
    #SlowlyChangingDimension #SCD2 #TechCoach
    SCD 0 - Passive method (No change in data)
    SCD 1 - Overwriting the old value (Latest Record Only)
    SCD 2 - Creating a new additional record (Maintains History)
    SCD 3 - Creating an additional Column (Rarely Used)
    SCD 4 - Using history table
    SCD 6 - The hybrid approach

КОМЕНТАРІ • 304

  • @TechCoach
    @TechCoach  6 років тому +29

    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

    • @andrewomofonma7148
      @andrewomofonma7148 4 роки тому

      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'

  • @himanshudhiman761
    @himanshudhiman761 3 роки тому +6

    SCD explained very well and with so much patience. !! Much appreciated... Thanks for sharing the knowledge on it

    • @TechCoach
      @TechCoach  3 роки тому

      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

  • @kanojdebbarma6936
    @kanojdebbarma6936 19 днів тому

    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

  • @shrutisinghal8556
    @shrutisinghal8556 6 років тому +2

    Superlike!! What I like about your videos is that you give real examples.

    • @TechCoach
      @TechCoach  6 років тому

      Thanks a lot shruti :)

  • @monywa2007
    @monywa2007 5 років тому +5

    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.

  • @anandbgrowthcoach
    @anandbgrowthcoach 2 роки тому +5

    Great video. Thanks a lot Vivek for explaining very simply and clearly!

    • @TechCoach
      @TechCoach  2 роки тому

      I am glad Anand I could help :)

  • @sanjayMishra-vs9um
    @sanjayMishra-vs9um 3 роки тому

    Thank you very much for this simplest explanation I could find over youtube! Awesome :)

    • @TechCoach
      @TechCoach  3 роки тому

      Thanks Sanjay for the kind words :)

  • @venkatakrishna3973
    @venkatakrishna3973 2 роки тому +2

    I didn't understand before watching this video now I'm able to understand the SCD concept; thanks for the information

    • @TechCoach
      @TechCoach  2 роки тому

      I am glad I could help Krishna :)

  • @majidgolnar7415
    @majidgolnar7415 2 роки тому +6

    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.

    • @TechCoach
      @TechCoach  2 роки тому +3

      Thanks Majid, with every change ( insert in ScD 2 the surrogate key should increment)

  • @uditech7736
    @uditech7736 4 роки тому +1

    Simple and clear explanation. Thank you Tech Coach.

    • @TechCoach
      @TechCoach  4 роки тому

      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

  • @vaibhavagrawal953
    @vaibhavagrawal953 Рік тому

    Very precisely and beautifully explained. I was able to understand each and every thing you explained. 👏

  • @spankyx8606
    @spankyx8606 6 років тому

    thanks for the excellent lesson and clear sound

  • @mohanrajmech89
    @mohanrajmech89 4 роки тому

    This is some wonderful explanation. And they way you explain is so easy to understand and follow. Thank you so much Bro!

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks Mohanraj for the lovely words, I am glad I could help :)

  • @fahadmahmood7150
    @fahadmahmood7150 2 роки тому

    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.!

  • @JessicaRocha-dz4cw
    @JessicaRocha-dz4cw 5 років тому +1

    Thank you so much for you explanation, it was very clear!

    • @TechCoach
      @TechCoach  5 років тому

      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

  • @ushasingu1757
    @ushasingu1757 6 років тому +2

    Very well explained. Thank you!

    • @TechCoach
      @TechCoach  6 років тому

      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

  • @aliveniveluru9522
    @aliveniveluru9522 6 років тому +1

    very nice video, good knowledge sharing

    • @TechCoach
      @TechCoach  6 років тому

      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

  • @pranavbhat92
    @pranavbhat92 4 роки тому +1

    Thank you for the clear explanation!

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks Pranav for the kind words, This video on Indexing may interest you as well.
      ua-cam.com/video/0X9bbtwTnuE/v-deo.html

  • @lemmiTry
    @lemmiTry 5 років тому

    Very informative and concise video. Thanks!

    • @TechCoach
      @TechCoach  5 років тому

      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

  • @ririraman7
    @ririraman7 2 роки тому

    It was knowledge rain for me, thank you brother for the social work!

  • @jyotikothari499
    @jyotikothari499 2 роки тому

    Too good and simple explanation of SCD.. 👍🏻

  • @yashodhanjoshi781
    @yashodhanjoshi781 2 роки тому +1

    Thank you! Super concise and clear

  • @sivanjaneyareddy
    @sivanjaneyareddy 6 років тому +1

    The way of explanation is damn clear...
    Very useful for beginners.
    Thanks a ton for this video

    • @TechCoach
      @TechCoach  6 років тому

      +Sivanjaneya Reddy M.V. Thanks a lot for the kind words :)

    • @TechCoach
      @TechCoach  6 років тому

      I would love your support for my new channel, Please watch subscribe and share with your friends.
      ua-cam.com/channels/oLdaMxhfDgdgIAcRGlUvkg.html

  • @KalyanS
    @KalyanS 4 роки тому +1

    nice explanation with examples

  • @erikawwad7653
    @erikawwad7653 2 роки тому +2

    thanks for video got my final interview with amazon in 2 hours!!

    • @TechCoach
      @TechCoach  2 роки тому

      All the very best buddy :)

  • @ngowriraj
    @ngowriraj 6 місяців тому

    Very Good with example & explanation

  • @mariejoycesantiago
    @mariejoycesantiago 4 місяці тому +1

    This is very informative, very easy to understand. Thank you so much for this!

    • @TechCoach
      @TechCoach  3 місяці тому

      I am glad I could help :)

  • @shubhamchouhan8149
    @shubhamchouhan8149 6 років тому +1

    please upload videos regarding SCD based scenarios wth both SQL and informatica (two approaches) your explanation methodology is very good.

    • @TechCoach
      @TechCoach  6 років тому

      shubham chouhan Sure Shubham I will work on it soon

  • @mandardegvekar997
    @mandardegvekar997 2 роки тому +1

    Simple and easy !! Great work

    • @TechCoach
      @TechCoach  2 роки тому

      Thanks a lot for the kind words Mandar :)

  • @Ranvir786
    @Ranvir786 6 років тому

    Very well Explanation. Thank you so much :)

    • @TechCoach
      @TechCoach  6 років тому

      +Ranvir singh Thanks a lot Ranvir Singh :)

  • @hirenparikh1364
    @hirenparikh1364 6 років тому +2

    Excellent Explanations Skills!!!

    • @TechCoach
      @TechCoach  6 років тому

      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

  • @sreejithsreedhar05
    @sreejithsreedhar05 3 роки тому

    You deserve much more viewers than now since you narrated the concepts very well,I like your videos, Thanks, dear friend.

    • @TechCoach
      @TechCoach  3 роки тому

      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.

  • @Desleiden
    @Desleiden Рік тому

    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

  • @VinLopez
    @VinLopez 5 років тому +4

    well explained; this SCD types always ask during technical interview.

    • @TechCoach
      @TechCoach  5 років тому

      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

    • @gregorclegane7563
      @gregorclegane7563 4 роки тому +3

      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.

    • @vkd9442
      @vkd9442 4 роки тому

      @@gregorclegane7563 exactly bro.. Just now I was asked this.. I said I don't know and searching in UA-cam now. Found this

  • @diptianjarlekar4480
    @diptianjarlekar4480 5 років тому

    Very nice explanation and real life examples ..kudos

    • @TechCoach
      @TechCoach  5 років тому

      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

  • @keerthicuddapha6664
    @keerthicuddapha6664 5 років тому

    What we want to do,if we want an additional column which is not presented in dataware house previously...?

  • @w0nderw0manjy
    @w0nderw0manjy 3 роки тому +1

    Awesome explanation.. totally worth it!

    • @TechCoach
      @TechCoach  3 роки тому

      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

  • @kishanjadhav8944
    @kishanjadhav8944 2 роки тому

    Very well explained . Thanks

  • @mohammadjamshaidsayeed6564
    @mohammadjamshaidsayeed6564 3 роки тому +1

    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.

    • @TechCoach
      @TechCoach  3 роки тому

      Thanks Mohammad , Unfortunately at this moment i don't have a practice video on it.

  • @pinakeshchandradas7617
    @pinakeshchandradas7617 3 роки тому

    Thanks dada (bhaiya) for your clear and concise approach to scd.

    • @TechCoach
      @TechCoach  3 роки тому

      Thanks buddy for the kind words.
      Please consider subscribing to my other channel as well
      ua-cam.com/video/6G1xGi-D5ow/v-deo.html

  • @dhanarajuramadi4733
    @dhanarajuramadi4733 6 років тому

    Thank you , keep adding more ..👍

    • @TechCoach
      @TechCoach  6 років тому

      dhanaraju ramadi Thanks for the kind words. I will be uploading more such videos soon.

  • @saurabhdsawant
    @saurabhdsawant 5 років тому

    Great explanation thank you !

    • @TechCoach
      @TechCoach  5 років тому

      Thanks Saurabh for the kind words, It means a lot to me. I have a small request, I am working on this new channel and would really appreciate if you watch and subscribe to it.
      ua-cam.com/video/IP2Vn6jK8Hg/v-deo.html

  • @marchanselthomas
    @marchanselthomas 2 місяці тому +1

    Beautifully explained!

    • @TechCoach
      @TechCoach  2 місяці тому

      I am glad I could help

  • @4rmtinc
    @4rmtinc 4 роки тому

    Thanks. Nice and concise explanation of the different types of SCD.

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks a lot for the kind words :)

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks a lot for the kind words :)

  • @baluhadoop4518
    @baluhadoop4518 4 роки тому

    thats awesome...very well explained..thank you very much bro.

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks buddy for the kind words, this video on indexing may interest you as well.
      ua-cam.com/video/0X9bbtwTnuE/v-deo.html

  • @keithdoran728
    @keithdoran728 6 років тому +1

    Thanks for the clear explanation

    • @TechCoach
      @TechCoach  6 років тому

      You are welcome Keith :)

  • @vjkrishr1
    @vjkrishr1 Рік тому

    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.

  • @aamirirfan8768
    @aamirirfan8768 6 років тому +1

    Once again Good work Vivek

    • @TechCoach
      @TechCoach  6 років тому

      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

  • @AhlamLamo
    @AhlamLamo 4 роки тому

    Thank you very much for your explanation 👍

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks for the kind words :)

  • @shaikmoulali2363
    @shaikmoulali2363 5 років тому

    Hi, thanks for the video on SCD's, watched and understood, but as per the video 0 to 6 SCD's explained except SCD 5, do we have SCD 5 as well, if not then why we go to SCD 6 without 5, why we given name to 6 for last SCD it should be 5 ?

  • @shukriabdulahi7492
    @shukriabdulahi7492 3 роки тому

    clear and practical examples. good job

    • @TechCoach
      @TechCoach  3 роки тому

      @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

  • @vartikathakur4273
    @vartikathakur4273 2 роки тому +3

    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.

    • @TechCoach
      @TechCoach  2 роки тому +2

      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 :)

  • @susilkumarsahoo2532
    @susilkumarsahoo2532 2 роки тому

    Nice once Vivek......Keep it up

  • @golden9161
    @golden9161 3 роки тому

    Very crisp and to the point.

    • @TechCoach
      @TechCoach  3 роки тому

      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

    • @TechCoach
      @TechCoach  3 роки тому

      @golden,
      please consider subscribing to my new channel it will really help me
      ua-cam.com/video/6G1xGi-D5ow/v-deo.html

  • @nishanthkumar4743
    @nishanthkumar4743 4 роки тому

    Well explained vivek... Big thumps up

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks a lot for the kind words Nishanth :)
      This video may interest you as well .
      ua-cam.com/video/5nfHmh8NsHw/v-deo.html

  • @fabiosangiorgi3596
    @fabiosangiorgi3596 4 роки тому

    Excellent video. Only question is on scd 6. Why did you set old value equal to current value in last row?

  • @ag564
    @ag564 4 роки тому

    If the ID col is primary key, then how do we add additional rows?

  • @ahmadsyed9405
    @ahmadsyed9405 4 роки тому

    excellent stuffs and nicely explained.

    • @TechCoach
      @TechCoach  4 роки тому

      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

  • @vishnuvardhanreddy5986
    @vishnuvardhanreddy5986 2 роки тому +1

    Superb explanation understand very easily thank you so much bro......

  • @arunasingh8617
    @arunasingh8617 2 роки тому +1

    Amazing Video (y). Get going!

  • @siddharthbhargava4026
    @siddharthbhargava4026 2 роки тому +1

    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.

    • @TechCoach
      @TechCoach  2 роки тому +1

      A view will run the underlying query everytime it is accesed which may become a big performance hit if it is called often.

  • @atchutharaojami3109
    @atchutharaojami3109 3 роки тому +1

    Excellent performance bro really very nice and clear explanation such containt all the best bro

    • @TechCoach
      @TechCoach  3 роки тому

      Thanks Buddy, please consider subscribing to my other channel it will really help me
      ua-cam.com/video/gTg6nCUuYO8/v-deo.html

  • @sasidharsamala1889
    @sasidharsamala1889 6 місяців тому

    Simply awesome

  • @vivekgambhire1379
    @vivekgambhire1379 3 роки тому

    Really great video ,easy to understand

    • @TechCoach
      @TechCoach  3 роки тому

      @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

  • @madhukarputta1741
    @madhukarputta1741 5 років тому

    Awesome bro...keep doing 👍🏼

    • @AnIndianAbroadd
      @AnIndianAbroadd 5 років тому

      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

  • @job_updates_with_subham
    @job_updates_with_subham 2 роки тому +1

    Very well explained with nice example 🙂 thanks

  • @Buzzingfact
    @Buzzingfact 2 роки тому +1

    great explanation... thanks for the video

    • @TechCoach
      @TechCoach  2 роки тому

      Thanks a lot buddy, I am glad I could help :)

  • @mounikayathakula8585
    @mounikayathakula8585 Рік тому

    Hi..Thank you so much for this valuable information that helps me a lot

  • @sujaa1000
    @sujaa1000 4 роки тому

    Thank you Vivek! this was very helpful.
    Regards,
    Sujaa

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks Sujaa for your constant feedback, It helps me going :)

  • @rahulsen002
    @rahulsen002 3 роки тому

    Have implemented scd 6 for hcm dwh for movement report ... Pretty common In hcm analytical reporting

  • @mullaipugazhendi3236
    @mullaipugazhendi3236 7 місяців тому

    Excellent 😊

  • @rajatnagwal7881
    @rajatnagwal7881 2 роки тому +1

    amazing explaination.great job bro

  • @MsMegha16
    @MsMegha16 4 місяці тому +1

    very nicely explained. Thankyou

    • @TechCoach
      @TechCoach  4 місяці тому

      Thanks a lot Megha

  • @jahangirkabir9271
    @jahangirkabir9271 6 років тому +1

    great simple explanation!!

    • @TechCoach
      @TechCoach  6 років тому

      Thanks a lot for the kind words :)

    • @TechCoach
      @TechCoach  6 років тому

      I would love your support for my new channel, Please watch subscribe and share with your friends.
      ua-cam.com/channels/oLdaMxhfDgdgIAcRGlUvkg.html

  • @KalyanS
    @KalyanS 4 роки тому

    Nice explanation

  • @aneksingh4496
    @aneksingh4496 4 роки тому

    Very nice explanation 👍 , please upload some videos on ETL logic to enhance the performance

    • @houstonfirefox
      @houstonfirefox Рік тому

      Most common methods are to view the Last_Updated flag to see if any changes occurred since the last refresh. If that's not available, I'll (reluctantly) use the CHECKSUM(col1,col2,col3) feature in SQL Server to see if there is a difference between the current data and what is in the DW (very slow though). You can speed things up by storing the checksum with the record so it doesn't have to recompute every time.

  • @ladysay3
    @ladysay3 3 роки тому

    Thanks. Great video.

    • @TechCoach
      @TechCoach  3 роки тому +1

      Thanks buddy for the kind words :)

  • @praneethbhat6361
    @praneethbhat6361 2 роки тому +1

    good explanation . Really helpful for me. Tq

    • @TechCoach
      @TechCoach  2 роки тому

      I am glad I could help :)

  • @Akshay50826
    @Akshay50826 Рік тому

    Thank you so much 😊

  • @templar273
    @templar273 2 роки тому +1

    best explanation ever you are the best

  • @tonyb189
    @tonyb189 5 років тому

    Thank you!!

    • @TechCoach
      @TechCoach  5 років тому

      Thanks Tony for the appreciation. 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/11DK-oyRql0/v-deo.html

  • @ranjan25k
    @ranjan25k 5 років тому +1

    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.!

    • @kevinbanks7648
      @kevinbanks7648 5 років тому

      You are correct in my opinion, although you would normally expect a surrogate key which will update as you say and an ID which would say the same.

  • @nagasai6830
    @nagasai6830 Рік тому

    awesome vid

  • @Anilkumar-kp8ee
    @Anilkumar-kp8ee 3 роки тому

    Vivek brother it's awesome

    • @TechCoach
      @TechCoach  3 роки тому

      Thanks a lot for the kind words :)

  • @moviecraze6079
    @moviecraze6079 23 дні тому

    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?

  • @evyatarsaar979
    @evyatarsaar979 4 роки тому

    Great video thanks.

    • @TechCoach
      @TechCoach  4 роки тому

      Thanks a lot for the Kind words :)

  • @RealLifeAnnu
    @RealLifeAnnu 2 роки тому

    Good info

  • @aishwaryavakhariya3999
    @aishwaryavakhariya3999 2 роки тому +1

    Thank you it is very helpful for me

    • @TechCoach
      @TechCoach  2 роки тому

      Thanks buddy, I am glad I could help :)

  • @sonjar4088
    @sonjar4088 5 років тому

    I've got a question: in SCD Type2 isn't it more important having a surrogate key in the DW than including the column of the current flag? The current dimension can be seen in the timestamp, can't it?

    • @kpcPrasad
      @kpcPrasad 5 років тому

      Yeah! Surrogate key should be present here. If the ID column is a primary key, then it will throw an error?!

  • @gurleensaluja6035
    @gurleensaluja6035 3 роки тому +1

    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?

  • @sikandarbaig2125
    @sikandarbaig2125 2 роки тому +1

    thank you so much very help full

    • @TechCoach
      @TechCoach  2 роки тому

      I am glad I coulf help :)

  • @vishaljhaveri7565
    @vishaljhaveri7565 3 місяці тому +1

    Thank you!

    • @TechCoach
      @TechCoach  3 місяці тому

      I am glad I could help :)

  • @jaivalsartandmore....1199
    @jaivalsartandmore....1199 4 місяці тому +1

    Much appreciated ....

    • @TechCoach
      @TechCoach  4 місяці тому

      I am glad I could help

  • @vasupradhaswamy769
    @vasupradhaswamy769 2 роки тому +1

    thank you for such good video

  • @vaibhavaher7139
    @vaibhavaher7139 2 роки тому

    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?

  • @ujjwalgiri6526
    @ujjwalgiri6526 3 роки тому +1

    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 ?

    • @TechCoach
      @TechCoach  3 роки тому

      Surrogate key will change, No two rows can have the same surrogate keys

  • @vijaykhanna7263
    @vijaykhanna7263 3 роки тому +1

    Nicely explained.

    • @TechCoach
      @TechCoach  3 роки тому

      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

  • @dataisfun4964
    @dataisfun4964 10 місяців тому

    Beautiful

  • @osutuba
    @osutuba 3 роки тому +1

    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!

    • @TechCoach
      @TechCoach  3 роки тому

      I am glad Russel I could help :)

  • @gaurisharma6331
    @gaurisharma6331 2 роки тому

    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