Тёмный

SQL tutorials 18: SQL Foreign Key Constraint By Manish Sharma 

Manish Sharma
Подписаться 114 тыс.
Просмотров 131 тыс.
50% 1

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@Rebellionrider
@Rebellionrider 10 лет назад
Before jumping over my next tutorial I'll suggest you all to watch my Foreign key tutorial. It will help you to understand the concepts more clearly.#SQL #SQLDeveloper #OracleDatabase
@blizzardkompressor4359
@blizzardkompressor4359 7 лет назад
You are an awesome Teacher! A lot of things that I never understood, it took me only 10 Min. with you and now I have understand everything! Thanks a lot Bro! Do not stop teaching the World how to do this! =) Saludos!
@UniqueSpace9
@UniqueSpace9 9 лет назад
Hi..Iam Gayatri.Just now i have watched ur video on primary key,foreign key.Your explanation is so good.. nice and perfect lecture.I think it will help me alot .Thank u so much...
@Rebellionrider
@Rebellionrider 9 лет назад
Gayatri miriyala Thanks, glad you enjoyed my videos. Please like and share the videos on your social networks and help other in learning the concepts oracle database in free.
@jyotimoi007
@jyotimoi007 8 лет назад
Thanks Manish for the oracle SQL tutorials. It's been grate help !!!!
@3231cool
@3231cool 10 лет назад
Nice and very informative!! Explained in simple language. Good work !
@seandougan8593
@seandougan8593 8 лет назад
this was really well done
@sumitchawla9362
@sumitchawla9362 6 лет назад
Dekhna sai pehla Manish sir ka video like kardo kyu aisa apko kisi training institute mai Paisa leke bhi nahi padha jayega
@GulShahzadSarwar
@GulShahzadSarwar 10 лет назад
Thanks Manish for such a wonderful lecture.
@deepaksrighakolapu9764
@deepaksrighakolapu9764 10 лет назад
thanks for explaining
@shwetasingh-zp1fp
@shwetasingh-zp1fp 7 лет назад
thank you sir for clear my doubts about foreign key
@sabitmubarik2658
@sabitmubarik2658 8 лет назад
You got an amazing talent of teaching others , keep on doing this sacred work Dear.... The thing is that I followed your tutorial for installing the oracle 11g complete setup all was well but in the end whenever I login into my Enterprise Manager account it says something like this(INTERNAL ERROR HAS OCCOURED AND DO SOMETHING WITH YOUR LOG FILES)... please tell me I am desperate to see the dashboard of EM opening on my screen.... With Love from PAKISTAN
@jdr2.paradigmabiblico128
@jdr2.paradigmabiblico128 9 лет назад
Great tutorials, Manish! Thanks
@healthyliving4530
@healthyliving4530 7 лет назад
Hi Manish, your videos r the best,really i feel so comfortable with oracle sql now Can u plz make video on new features of 12c, i have my interviews in coming weeks ,it would be of great hlp .
@avilevin23
@avilevin23 9 лет назад
Great video, Thanks!
@sharanyaboddula244
@sharanyaboddula244 6 лет назад
Awesome explaination and nice ppt..
@m.hasnainaltaf8343
@m.hasnainaltaf8343 4 года назад
Thanks sir!
@monideep82
@monideep82 7 лет назад
Thanks a lot for such great videos !!!!! Please plan to do some Data Analytics videos also, it would be of great help !!!!
@georgecristianiordan3712
@georgecristianiordan3712 6 лет назад
God I try to make a reference between 2 tables 2 columns for 2 days and I couldn't do it.... I hate your accent but sir.... you are a GREAT TEACHER, thank you in my country they say > Hope you reach 100 y old! or more ... have a great day
@LT-od7dg
@LT-od7dg 8 лет назад
Mr Sharma, I like your videos. I'm using ORACLE SQL 11G express and I have one request? would you continue on with your (this) video and make a video with real database tables to show how FOREIGN KEY work with real data??? thank you in advance!
@arunsanga6433
@arunsanga6433 4 года назад
Thanks
@rishabhrastogi3933
@rishabhrastogi3933 8 лет назад
its vry helpfull... thanks
@Rebellionrider
@Rebellionrider 8 лет назад
+rishabh rastogi You are most welcome. I am glad your find my videos helpful. Do make sure to Like & Share them.
@computerscience4468
@computerscience4468 7 лет назад
hi sir, your lectures very informative for me meny 2 table create kiye hain or aik new 3rd table create kr k just usme un dono tables ki primary keys as a foreign keys lgani hai kya ap mjhe 3rd tables ka syntax send kr de gy yahan please
@robertbhandari7829
@robertbhandari7829 7 лет назад
Thank you #legend
@anatoliistepaniuk8217
@anatoliistepaniuk8217 9 лет назад
I know how to define a foreign key - there's a lot of information about this on the Internet. But I do not quite understand the details of how the foreign key is used. THAT would be a very valuable information in your tutorial
@FxAndrej
@FxAndrej 8 лет назад
+Anatolii Stepaniuk. Imagine you are an IT guy in a company. IT department has ID 5. This means that in "Employees" table there would be "Anatolii" with department_ID=5. Now I go to the separate "Departments" Table and try to delete the department with ID 5. If there is NO Foreign Key, I will successfully delete the department, and "Anatolii" will end up with NO department assinged. And that's bad :). Hope this helped.
@SathishKumar-tl8ti
@SathishKumar-tl8ti 7 лет назад
Dear Manish, If I have to create more than one primary key, I have to use composite Primary key. Fine. When I try to keep one of this Primary key to my foreign key error is raised . can you give your reply please
@ivogody
@ivogody 8 лет назад
7:18 - Take a glass of water jajajaj
@mladenskywalker9562
@mladenskywalker9562 8 лет назад
I have a question. What if I have table A, table B and table C. Let's say table C is linked with both table A and B. How would I define foreign keys in table C? Could I add two constrains for each reference? Thanks. :)
@mattrobertson3524
@mattrobertson3524 8 лет назад
I would also like to know the answer to this question Manish!
@blizzardkompressor4359
@blizzardkompressor4359 7 лет назад
Yes, you can have more then one constraint for each references... ;)
@naumikhan786
@naumikhan786 6 лет назад
hi bro good evening i want to know how to insert more than one foreign keys in table? is there any limit for foreign keys?
@lokeshparuchuri7278
@lokeshparuchuri7278 6 лет назад
How to identify the table does have foreign key or not .By sql cmd prompt.
@chetipattuc7335
@chetipattuc7335 6 лет назад
is it possible to drop foreign-key table directly???
@faranakso3919
@faranakso3919 10 лет назад
perfect
@Rebellionrider
@Rebellionrider 10 лет назад
Faranak So Thank you so much.
@abadhesh84
@abadhesh84 10 лет назад
Hi Manish.. What is the use of Constraint? With link to Primary key or Foreign Key ?
@Rebellionrider
@Rebellionrider 10 лет назад
Foreign key is a referential integrity constraint which helps in several manners like establishing a relationship (link) between parent and child table which you can then use in several ways for example, Joins is one of them. Uses of FK constraint include: · 1. It forestalls those actions that can lead to destruction of links between various tables. 2. It ensures that the data that is being inserted in the foreign key column is essentially coming from the table it points to. This guarantees the validity of the data. Incidentally Primary key has the job of identifying each row uniquely in a table. You can go through these links for more knowledge on Primary and Foreign key. bit.ly/primary-key bit.ly/foreign-key thanks
@mohammadshakil1387
@mohammadshakil1387 6 лет назад
what is constraint ...need a tutorial define constraint
@vishalsaxena5081
@vishalsaxena5081 3 года назад
how can i add foreign key on created table ??
@irshad9341
@irshad9341 8 лет назад
sir which software are you using for this type of queries plz tell
@Rebellionrider
@Rebellionrider 8 лет назад
In almost all the videos I have used Oracle SQL Developer a free GUI by Oracle Itself. I have done an installation video of the same, here is the link ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zliF8kXVmeE.html
@gibnaact8940
@gibnaact8940 6 лет назад
Reference author(author_id) or Reference Parents(author_id)
@jubin4joy
@jubin4joy 7 лет назад
Is there a reason for using the code (CONSTRAINT bok_ai_fk). Does it affect in any way?
@RohitRaj-bx6md
@RohitRaj-bx6md 7 лет назад
Watching your all vidoes it is enough to crack ocp xam???
@explorerworld871
@explorerworld871 7 лет назад
sir how can i save sql database to notepad .txt format plz explain
@amritamehara3414
@amritamehara3414 8 лет назад
Sir your tutorial data is not showing clear.. It's too small
@saiprasad102
@saiprasad102 8 лет назад
difference between column level and table level in oracle ? please tell
@loux6153
@loux6153 8 лет назад
there's no difference, its just depending on how you want to write it and he showed both ways
@sialeeMK
@sialeeMK 9 лет назад
your video is very small i don't see it please zoom
@nikitabhattad9940
@nikitabhattad9940 3 года назад
How to drop foreign key in sql developer
@pankaj90241
@pankaj90241 Год назад
Sare brand ko piche chor diye bhai.... itna mehnga kyo?
@ambiencemagistrate7992
@ambiencemagistrate7992 6 лет назад
bhai harkuch harkuch batat ra hai tu yaar
@nemitsmiselaneas
@nemitsmiselaneas 9 лет назад
THANK ME help much, have an SUBSCRITORA MORE IN PERU My English is not very good SORRY