PostgreSQL: Deleting Records With Foreign Keys | Course | 2019

preview_player
Показать описание
PostgreSQL is a general purpose and object-relational database management system, the most advanced open source database system widely used to build back end systems. Startups including big companies such as Apple, Cisco, Redhat and more use Postgres to drive their business.

In this video you will learn the implications when you need to delete records that have a foreign key relationship.

PS

Thanks for watching…
Рекомендации по теме
Комментарии
Автор

what if i don't want to delete the person, and also the data is not nullable?

acminostgien
Автор

como eu faço para alterar a estrutura da tabela para incluir o "ON UPDATE CASCADE" e "ON DELETE CASCADE"? Eu estou usando o Postbird e pelas opções de gerenciamento das tabelas eu não sei como fazer.

drigosantos
Автор

All your videos are amazing and so clear! Thanks bro! 😃

younneschebli
Автор

how to drop the foreign key constraint from the table

nirbhaysingh
Автор

Thank you for this Sir! more power to you.

beverlyeaster
Автор

Very useful video, just what I needed!

Thanks :)

praff
Автор

is there a way two delete both rows with a single command? instead of doing it twice?

whiteichigo