Creating Primary and Foreign Keys in SQL Server 2012

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 397

  • @mia21281
    @mia21281 3 ปีที่แล้ว +25

    I know this video is 7 years old, but this has helped me out so much.

  • @gregorytoddsmith
    @gregorytoddsmith 10 ปีที่แล้ว +1

    Top notch video. People complained that you spoke slowly: the subject matter of the video and the clarity with which you delivered it outweighed the slow speech. Watching this tutorial was much easier to understand and faster than reading a chapter which would have conveyed the same message.

    • @ninasazonova2511
      @ninasazonova2511 8 หลายเดือนก่อน

      I love his slow speech !!!

  • @christerjohanzzon
    @christerjohanzzon 8 ปีที่แล้ว +13

    Even though it's 3 years since you made this video, it's still very good. Well explained, and clear instructions on how to do things. Many will learn from this still.

  • @namthuannguyen8332
    @namthuannguyen8332 2 ปีที่แล้ว +1

    almost 9 years and still help me, you are god

  • @yaweiz4546
    @yaweiz4546 9 ปีที่แล้ว +6

    This is definitely the tutorial I want, no theory, no SQL language, easy to follow.

  • @laploy2
    @laploy2 9 ปีที่แล้ว +18

    One of the best tutorial vid. The visual and audio is flawless. The speaking speed is not too fast.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @BrentConnorIsBestConnor
    @BrentConnorIsBestConnor 10 ปีที่แล้ว +46

    Very thorough explanation. Great video for beginners. I was in a rush to find the foreign key information [starting at 9:30]

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @douggeneric962
    @douggeneric962 9 ปีที่แล้ว +9

    Thank you for the tutorial and for taking the time to offer it to us for free! Your pace and your presentation style are just fine and worked well for me. I have a doctorate as well. So I guess we're just slower on the uptake than the wise guys who cursed you. Shame on them for their lack of gratitude. God bless you Dr. Soper.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @TCE4You
    @TCE4You 10 ปีที่แล้ว +8

    Excellent video that very clearly explained foreign key concepts and setup. Your speaking slowly and very clearly was a huge benefit for those us who want to actually learn something instead of just hearing it spit out quickly for those who probably already (think) they know what you are teaching us. Thank you so much for posting your video!

    • @plekkchand
      @plekkchand 6 ปีที่แล้ว

      Exactly.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @haleystamper7705
    @haleystamper7705 2 ปีที่แล้ว +15

    (1:49) method to set a single column as the primary key
    (4:15) second method to set a single column as the primary key
    (6:50) method to create a composite primary key which uses more than one column
    (9:20) method to create foreign key
    (13:16) second method to create a foreign key

  • @AllinOne-zb8uf
    @AllinOne-zb8uf 6 ปีที่แล้ว

    Dr. Soper its my First lecture in your channel ,but now i am a big fan of yours .you a a awesome

  • @dvan239
    @dvan239 2 ปีที่แล้ว

    I looked up this tutorial to help with my assignments. Looked down to see it was from my actual professor! Thanks for the Help Dr. Soper!

  • @firdoswani435
    @firdoswani435 6 ปีที่แล้ว

    Thanks for sharing! I'm a beginner but I think I can learn now SQL in a easy and fastest way.......May God give you its returns in this world and hereafter as well.... stay blessed

  • @herculanofernandes6649
    @herculanofernandes6649 3 ปีที่แล้ว

    Perfect explanation, my uni lecturer takes hours and couldn’t understand. I took a view on your video and understand straight away.
    Thanks

  • @Hotshot0225
    @Hotshot0225 3 ปีที่แล้ว

    You sir, are a saint among men. every bit of info provided here is still relevant.

  • @bhumikaraturi5603
    @bhumikaraturi5603 2 ปีที่แล้ว

    Thank you Dr. Soper for this informative video. your teaching style is commendable.

  • @PopCapMusicTrending
    @PopCapMusicTrending 2 ปีที่แล้ว

    This was uploaded when I was in 6th grade. Did not expect I will be here studying databases.

  • @muhammadafzal237
    @muhammadafzal237 3 หลายเดือนก่อน

    I was familiar with the concept but now I learned practically.
    Thanks

  • @akokohjoel9854
    @akokohjoel9854 2 ปีที่แล้ว

    I so much appreciated your calm and simple approach

  • @bisu8789
    @bisu8789 3 ปีที่แล้ว +7

    You deserve heaven, thank you man

  • @felgedits
    @felgedits ปีที่แล้ว

    Its been a while since this video came out but it still provides useful information for new users of the SQL Server Management Studio! Thanks man :)

  • @thebigloc1
    @thebigloc1 8 ปีที่แล้ว

    This was great to help me brush up on my database skills that had got a little rusty.

  • @masoudsalami
    @masoudsalami 6 ปีที่แล้ว

    Wow, You did a great job creating this video for us, very top quality, Real English Language that makes us understand the words and talks, great display and used tools for this video, No extra talks, and repetition, very easy to follow.... I really like your video and effort in this video. I wish to see more SQL videos from you. You are a great instructor.

  • @jeffwoltjen3887
    @jeffwoltjen3887 ปีที่แล้ว

    Thank you so much for this video. It's so clear and easy to understand. Saved me from frustration taking hold.

  • @TranscendingStigma
    @TranscendingStigma 9 ปีที่แล้ว +3

    By far the best tutorial I've come across. Thank you!

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @quataoxann83
    @quataoxann83 9 ปีที่แล้ว +2

    Thanks for your excellent video. This must be one of the best tutorial regarding on how to create primary and foreign key in sql server.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @goverdhanjayaram3683
    @goverdhanjayaram3683 3 ปีที่แล้ว

    Excellent video !!! Thank you Dr Daniel Soper !

  • @artemburov9456
    @artemburov9456 3 ปีที่แล้ว

    Thank you, Dr. Soper, for the great video. Step by step, simple and clear.

  • @zoblod1
    @zoblod1 2 ปีที่แล้ว

    Great Explanation. I was able to do the database model for DW watching this. Thanks

  • @abdulrahmantariq
    @abdulrahmantariq 9 ปีที่แล้ว

    very good explaination Mr Dr. Daniel Soper. thanks

  • @gooddeedsleadto7499
    @gooddeedsleadto7499 ปีที่แล้ว

    Hi Dr. Daniel Sooner; Thank u for the great presentation😀👍
    Yes, learned everything u taught.

  • @Mandaragat1969
    @Mandaragat1969 ปีที่แล้ว

    its 2023 and i thank you it help me with my capstone

  • @thomasyan2384
    @thomasyan2384 8 ปีที่แล้ว

    Thanks You a lot Daniel Soper. You helped me a lot of understand in this area, especially for those kind people like me as a beginer of asp.net

  • @edward699321
    @edward699321 7 ปีที่แล้ว +1

    Thank you, Dr. Soper.
    You did a great job and you save my day.

  • @fredyuldashev
    @fredyuldashev 6 ปีที่แล้ว

    Wow Dr. Soper! Excellent explanation! Thank you so much Dr.

  • @Baseketballify
    @Baseketballify 10 ปีที่แล้ว +1

    Great video. Thank you. Question? What software are you using to create this tutorial? I love how you can smoothly zoom and highlight different objects on the screen.

  • @manuelcosta6447
    @manuelcosta6447 8 ปีที่แล้ว +1

    I'd like to say a big "thank you" for your detailed tutorial.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @uwitonzefrancine3571
    @uwitonzefrancine3571 5 ปีที่แล้ว

    thank you so much mr Dr.Daniel Soper God bless you all the time

  • @ibrahimnosiru5943
    @ibrahimnosiru5943 3 ปีที่แล้ว

    I honestly learned something interesting. Thank you Dr. Soper

  • @Guidimarcelo
    @Guidimarcelo 9 ปีที่แล้ว +1

    Minhas dúvidas quanto a criação destes tipos de relacionamentos foram sanadas! Obrigado Dr.Soper!

  • @noetig
    @noetig 8 ปีที่แล้ว

    Thanks for the video, was better than any book can ever be.

  • @tayyabferozi
    @tayyabferozi 3 ปีที่แล้ว

    Very very very good tutorial... couldn't really find any informative out there... Thanks .......

  • @imthajahmed3820
    @imthajahmed3820 3 ปีที่แล้ว

    Thank you Dr. Daniel Soper.

  • @caglardamlaa
    @caglardamlaa 2 ปีที่แล้ว

    Thanks for explaining step by step.

  • @colinmacmurtrie4454
    @colinmacmurtrie4454 8 ปีที่แล้ว

    Great, comprehensive walk through of a fundamental database tool. Would love it if I could speed up the playback as the speech was a little slow. Thanks for the video!

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

    • @BoDuke73
      @BoDuke73 3 ปีที่แล้ว

      To increase any video playback speed select the Gear Icon (Settings) in the bottom right of the video and select -> Playback Speed. Then increase the speed by the desired multiplier.

  • @bubbahhotep6498
    @bubbahhotep6498 9 ปีที่แล้ว

    Well done, thank you. Excellent explanation/demonstration. I see a couple of people complained that you spoke too slowly, personally I think your pacing was perfect.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @furqanhaider1154
    @furqanhaider1154 6 ปีที่แล้ว

    This tutorial Help Me A lot Thanks Dr. ........!

  • @arthurfelder3153
    @arthurfelder3153 8 ปีที่แล้ว +1

    Thank You so much for going step by step! This really helped me with my assignment.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @ahmedredha2358
    @ahmedredha2358 5 ปีที่แล้ว

    very interesting and useful video. thank you so much DR.Soper

  • @cyrsus
    @cyrsus 6 ปีที่แล้ว

    Extremely helpful video that clearly defines the processes. Many thanks!

  • @DineshKudale
    @DineshKudale 6 ปีที่แล้ว +1

    Thank you for sharing great knowledge with us !

  • @muhammadibrar8278
    @muhammadibrar8278 8 ปีที่แล้ว

    Very informative and excellent way of delivering.

  • @shaikhzoyeb
    @shaikhzoyeb 6 ปีที่แล้ว

    thanks Dr. Daniel Soper for this tutorial it's fantastic , however flocks set video speed to 1.5 x

  • @iSunner
    @iSunner 6 ปีที่แล้ว

    can you create a crystal report tutorial with these tables?

  • @HassaanRaza
    @HassaanRaza 6 ปีที่แล้ว

    Very descriptive, awesome for beginners!

  • @chocoyochicoy3136
    @chocoyochicoy3136 2 ปีที่แล้ว

    Just what I was looking for...thanks.

  • @forestsunrise26
    @forestsunrise26 3 ปีที่แล้ว

    Thank you so much Dr. Soper!

  • @XxFLYBOYSTYLExX
    @XxFLYBOYSTYLExX 9 ปีที่แล้ว +62

    Thanks for the info. Thank youtube for 2x video speed

    • @plekkchand
      @plekkchand 6 ปีที่แล้ว +1

      This remark is useless at best. Not every video has to or indeed should be frantically packed with information to show off the author's supposed brilliance-most examples of which reveal a scatterbrained thoughtlessness. Such learning tends to be volatile. Not to mention the fact that many listeners are not native English speakers.

    • @eduardperez6372
      @eduardperez6372 6 ปีที่แล้ว +2

      When someone does not understand something, the best way is to be patient and pay attention. He applied the best way to teach someone. when some people know something, they just press the forward button... That 's all.

    • @rubenmota9127
      @rubenmota9127 5 ปีที่แล้ว

      real

    • @bastard5517
      @bastard5517 5 ปีที่แล้ว

      2x is not enough

    • @nesarh.7217
      @nesarh.7217 5 ปีที่แล้ว

      Thank you for the comment too!

  • @rolando2742
    @rolando2742 4 ปีที่แล้ว

    Thank you. Excelent explanation. I would like to see more videos about this topic.

  • @mariac7772
    @mariac7772 6 ปีที่แล้ว

    Excellent tutorial sir...very good

  • @rajkamal_khare
    @rajkamal_khare 7 ปีที่แล้ว

    Loved this video Sir. Very Informative. Thank you!
    & Liked your way of teaching slowly and explaining everything in a nice way.

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @scanner2640
    @scanner2640 11 ปีที่แล้ว +56

    9:00 foreign key

    • @zephy0220
      @zephy0220 4 ปีที่แล้ว

      Thanks... Hero!!

    • @freakingwonder
      @freakingwonder 4 ปีที่แล้ว

      You're the real MVP

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

    • @StoepZulu
      @StoepZulu 4 ปีที่แล้ว

      @@maryadam4174 7 years later and you are still a fucking legend!

    • @kekevillo1
      @kekevillo1 2 ปีที่แล้ว

      Thanks! Really helped

  • @theseasidepunk
    @theseasidepunk 5 ปีที่แล้ว

    Thank you SO much for making this video. Clearly spoken and understandable. Thanks bro!

  • @SuperMichielv
    @SuperMichielv 10 ปีที่แล้ว

    Very nice explained. Many thanks!

  • @Partha701
    @Partha701 11 ปีที่แล้ว

    Excellent presentation.Hope to get more demonstration in future too.

  • @jeanettechlela
    @jeanettechlela 8 ปีที่แล้ว

    thanks a lot for posting such a clear detailed yet brief tutorial , it helped a lot and it is interesting to learn . thank you dr :)

  • @azkakhalid4927
    @azkakhalid4927 3 ปีที่แล้ว

    perfect explanation of both keys

  • @shows01
    @shows01 9 ปีที่แล้ว +1

    Very nice, best one I found on the internet.

  • @MirnalMannu
    @MirnalMannu 8 ปีที่แล้ว

    Very nicely explained, it helped me so much to understand the concepts.

  • @luketheyoda
    @luketheyoda 4 ปีที่แล้ว

    I had no idea it was so simple.

  • @meghasandesam
    @meghasandesam 10 ปีที่แล้ว

    Very good demo. cool and simple.

  • @dimitriospapageorgiou5089
    @dimitriospapageorgiou5089 9 ปีที่แล้ว

    Definitely one of the best videos about the topic. Thank you very much!

  • @jvaawesome
    @jvaawesome 3 ปีที่แล้ว

    Useful for the Data Design assignment. :)))))

  • @asmaliaquat2593
    @asmaliaquat2593 6 ปีที่แล้ว

    Thanks for this helpful tutorial !... How we can copy the values of Primary key to foreign key?

  • @firefoxx46
    @firefoxx46 9 ปีที่แล้ว

    Excellent. Thank you Prof.

  • @StephenBeale
    @StephenBeale ปีที่แล้ว

    2:10 set primary key
    3:00 refresh the list each time
    7:00 composite primary key
    9:40 foreign key creation

  • @itsRohitJain
    @itsRohitJain 9 ปีที่แล้ว

    Thanks , very very explanatory video. Highly recommended

  • @hamaxatar6721
    @hamaxatar6721 3 ปีที่แล้ว

    You are the best you helped me so much thank you again😭

  • @fernandozelayafgZelaya
    @fernandozelayafgZelaya 10 ปีที่แล้ว

    Very Good Video!! Saludos de Argentina

  • @tomashons90
    @tomashons90 6 ปีที่แล้ว

    Very nice tutorial. Thank you.

  • @kirtimadhabswain4925
    @kirtimadhabswain4925 8 ปีที่แล้ว

    outstanding explanation dude...

  • @tomservo75
    @tomservo75 6 ปีที่แล้ว

    So when creating the relationship, which table should you create the FK in? Should you start in the many table or doesn't it matter?

  • @oleksii-kozak
    @oleksii-kozak 6 ปีที่แล้ว

    Thank you so much, sir. I wish I could give you more than one up vote.

  • @raziahmad2376
    @raziahmad2376 4 ปีที่แล้ว

    Excellent explanation boss 👍👌👍

  • @killuazoldyck7027
    @killuazoldyck7027 8 ปีที่แล้ว

    Could you explain further why did you set the orderId and productId as primary key in the Orderline table?

  • @shahzaibmalik1666
    @shahzaibmalik1666 5 ปีที่แล้ว

    thanxx man for easing my life

  • @negatuabera5085
    @negatuabera5085 7 ปีที่แล้ว

    Thank you i like the way you explain

  • @hunnydarling863
    @hunnydarling863 4 ปีที่แล้ว

    Dear Sir, would you like please to continue how to create query of those tables, thank you, it ia great and very clear tutorial 👍👍

  • @linox20
    @linox20 3 ปีที่แล้ว

    i dont speak english but this video is so good that i cannot understand everything

  • @gaurav_sk4389
    @gaurav_sk4389 3 ปีที่แล้ว

    Thank you very much this helps me a lot

  • @asunciongova6206
    @asunciongova6206 7 ปีที่แล้ว

    wow! thanks 4 your explanation, it was so clear and easy!!!

  • @staymediang
    @staymediang 4 ปีที่แล้ว

    Thanks, nice video, still confusing about why the 'productId' is not linked with 'customerId'? How do we know which Customer purchase a particular product? Pls, share more light to this.

  • @link33211
    @link33211 8 ปีที่แล้ว +1

    Thank u so much for this brilliant tutorial!

  • @adnanarshad5003
    @adnanarshad5003 9 ปีที่แล้ว

    @Dr. Daniel Soper , Well that was a great tutorial.. that so easy way to creating foreign , BUT when we are going to add the data in those tables it will give error of parent table and child table constraint ..How to handle that error ? please explain to me , i shall be highly obliged to you ..

  • @ferencforintos
    @ferencforintos 10 ปีที่แล้ว

    Great video, finally someone who can teach! ;-)

  • @saketmaurya
    @saketmaurya 8 ปีที่แล้ว

    Thank you so much.Very helpful tutorial.

  • @DanielB1807
    @DanielB1807 5 ปีที่แล้ว

    Thank you, very helpful video.

  • @julianalejandronuneztoribi1839
    @julianalejandronuneztoribi1839 3 ปีที่แล้ว

    Thank you very much, you help me a lot!

  • @ShabbirIsmailBabji
    @ShabbirIsmailBabji 10 ปีที่แล้ว +1

    A really great video, thanks a lot for giving your time and knowledge!

    • @maryadam4174
      @maryadam4174 4 ปีที่แล้ว

      th-cam.com/video/rRmI16IkqG0/w-d-xo.html

  • @bhavinbhavi
    @bhavinbhavi 9 ปีที่แล้ว

    Good tutorial. simple and comprehensive . Bit slow some times. But that will be good for beginners