Database Design 29 - Foreign Key Constraints

  Рет қаралды 40,596

Caleb Curry

Caleb Curry

Күн бұрын

Пікірлер: 43
@briddenattech
@briddenattech 5 жыл бұрын
"Sorry if I talk fast." Bud, I've been listening to you at 2x. Talk as fast as you want. Give me a challenge.
@jacobcasey28
@jacobcasey28 4 жыл бұрын
One of the best things about self-studying is coming across cool dudes like this who can explain things in a good way, thanks!
@codebreakthrough
@codebreakthrough 10 жыл бұрын
Learn about Foreign Key Constraints by clicking below. Make sure you watch the other videos in the series! buff.ly/1uqxUf6
@weatherlye71
@weatherlye71 5 жыл бұрын
I not only learned some essential things here that allowed me to understand the schema of a programmer I know, but it makes me feel like you are my older grandson! You are brilliant AND adorable. Thank you. Also, I could not understand why fields in Infinium were being changed by SQL while working in a contract position. Now I realize the programmer probably was not aware that all these things are BUILT INTO Infinium and don't need to be updated, deleted or inserted by SQL. That approach is very illogical but it makes me appreciate IBM application SO MUCH. I don't hate SQL or Microsoft but it increased my appreciation of the iSeries (old AS400) systems and applications they support.
@amynash1999
@amynash1999 7 жыл бұрын
one of the better videos on database.
@sherlock4209
@sherlock4209 9 ай бұрын
Thank you man. Amazing explanations and easy to understand!
@basementhermit3607
@basementhermit3607 9 жыл бұрын
Excellent explanation, very easy to understand. Thanks a lot for uploading this video.
@joelkeane8740
@joelkeane8740 8 жыл бұрын
Awesome video mate! Really well explained - thanks : )
@alexdan111111111111
@alexdan111111111111 9 жыл бұрын
Great! I have never found yet such a great explanation on other tutorials... ON DELETE/ON UPDATE ... RESTRICT/CASCADE/SET NULL. ON DELETE SET NULL... that fantastic. You can delete the parent, but not the childeren...
@minhtao9774
@minhtao9774 7 жыл бұрын
"Get away stupid fly!" Hahahaha! Best part of this video =] and everything else hehe!
@kayoutube690
@kayoutube690 5 жыл бұрын
Question, is there any conflict to FK constrain once i am going to backup the table which associated to the FK?
@pearlipop
@pearlipop 10 жыл бұрын
Your teaching is great Caleb, thank you for your videos! I have a question, is your goal to be a teacher? Or are you one, already?
@codebreakthrough
@codebreakthrough 10 жыл бұрын
***** I am! ...on KZbin. hehehehe
@joshfraser3991
@joshfraser3991 6 жыл бұрын
pearlipop is right you are good! I am going to follow you!
@liangwu8328
@liangwu8328 Жыл бұрын
In what book I can learn these database concepts? Do you have any recommendations?
@canberkuyar5469
@canberkuyar5469 5 жыл бұрын
thx buddy it was so helpful you teach really well ^^
@JoshuaMusau
@JoshuaMusau 3 жыл бұрын
well explained. thanks
@aw18473
@aw18473 Жыл бұрын
Well explained 👍👍👍👍
@grafitechdesigns6312
@grafitechdesigns6312 9 жыл бұрын
great job bro, do you have videos on selection of tuple, projection operator, Cartesian product?
@somachicasincity4232
@somachicasincity4232 10 жыл бұрын
Thank you again this was helpful!
@manjuelaiya8597
@manjuelaiya8597 7 жыл бұрын
i need answer for this question To ensure that the amount withdrawn shoulb be less then the credit card limit amount , to ensure integrity what type constraint will be use ? a. column level check constraint b.table level foreign constraint c.table level level check constraint d.column level foriegn key constraint
@dnj20
@dnj20 9 жыл бұрын
thumbs up. t'es vraiment bon
@varunjain3756
@varunjain3756 3 жыл бұрын
well explained Foreign Key Constraints
@anishkuber764
@anishkuber764 7 жыл бұрын
Thanks man
@eluented
@eluented 2 жыл бұрын
thanks man life saver
@amalsakkoumi1392
@amalsakkoumi1392 4 жыл бұрын
Thanks from morocco
@robertoquinones785
@robertoquinones785 7 жыл бұрын
Great DUDE!!! Thanks
@amritkaur2142
@amritkaur2142 9 жыл бұрын
u r awsome
@soultouchingsongs
@soultouchingsongs 6 жыл бұрын
Excellent. Thanks a ton!
@hunterblake2710
@hunterblake2710 5 жыл бұрын
Good explanation
@sierrakilo9695
@sierrakilo9695 6 жыл бұрын
So how WOULD you keep comments if a user deletes their account?
@cjlion7081
@cjlion7081 3 жыл бұрын
an update to set all comments by user x to null in the child table with the comments by users, select pk * inner join select fk from comments table where user = x
@TheSkepticSkwerl
@TheSkepticSkwerl 6 жыл бұрын
Reddit shows the comments forever, unless the comment is deleted. It just updates the user to [deleted]... I wonder if they set null, or some other set like 'set = 0' and any comment with 0 or null (whatever they do) is the user [deleted] However, i think if you restore your account, it restores the comment owner. They're good
@davidflash1
@davidflash1 7 жыл бұрын
thanks, regards
@TheSkepticSkwerl
@TheSkepticSkwerl 6 жыл бұрын
504 - gcih. 508 - gcfa
@guypicard1648
@guypicard1648 5 жыл бұрын
Most of these constraints are based on the fact that you plan on changing the primary key in one of the tables - which you should never do. Foreign keys are important. But foreign key contraints? meh. Just make sure to never change the value of a primary key.
@codebreakthrough
@codebreakthrough 5 жыл бұрын
Well foreign key constraints also ensure that the value of the foreign key field exists in the referenced column on insert. That way you you avoid orphaned rows
@cjlion7081
@cjlion7081 3 жыл бұрын
@@codebreakthrough which is what the fk constraint construct is for, if you choose to use it. It's not a normal thing to do clearly, but can be useful. His overview also helps people understand basic key and constraint interaction concepts, important to beginners
@OneTimWhatley
@OneTimWhatley 7 жыл бұрын
Your chalk is small.
@kld0093
@kld0093 9 жыл бұрын
noll
@eldoprano
@eldoprano 3 жыл бұрын
gosh you are so handsome..
@user-em9mw9ch3y
@user-em9mw9ch3y 6 жыл бұрын
People would love you in India. (hint : your surname)
@manjuelaiya8597
@manjuelaiya8597 7 жыл бұрын
i need answer for this question To ensure that the amount withdrawn shoulb be less then the credit card limit amount , to ensure integrity what type constraint will be use ? a. column level check constraint b.table level foreign constraint c.table level level check constraint d.column level foriegn key constraint
Database Design 30 - Simple Key, Composite Key, Compound Key
12:14
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
Database Design 23 - Superkey and Candidate Key
19:15
Caleb Curry
Рет қаралды 79 М.
Database Design 18 - Designing Many-to-Many Relationships
16:15
Caleb Curry
Рет қаралды 72 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 94 М.
Learning MySQL - FOREIGN KEY CONSTRAINTS
11:52
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 45 М.
Database Design 22 - Look up Table
16:53
Caleb Curry
Рет қаралды 71 М.
Foreign Key | Referential Integrity | Set Null | Cascade | No Action
10:56
Primary & Foreign Keys
8:25
Eddie Woo
Рет қаралды 492 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,2 МЛН
Database Design Course - Learn how to design and plan a database for beginners
8:07:20
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.