Add and Drop Foreign Key en PostgreSQL - pgAdmin

Published: 12 April 2022
on channel: DevGuardian Code
5,688
70

En el video se muestra como podemos añadir y eliminar foreign key en postgresql a través de consola.

Comandos:

ALTER TABLE XXXXX
ADD CONSTRAINT fk_xxxx FOREIGN KEY (campo_de_tabla_local) REFERENCES tabla_clave_primaria(campo_fk);


ALTER TABLE XXXXX
DROP CONSTRAINT fk_xxxx


#postgresql
#baseDeDatos
#pgadmin
#constraint
#addconstraint
#dropconstraint

add constraint
drop constraint
foreign key
delete foreign key
add foreign key
pgadmin
pgadmin4
base de datos
create foreign key


Watch video Add and Drop Foreign Key en PostgreSQL - pgAdmin online without registration, duration hours minute second in high quality. This video was added by user DevGuardian Code 12 April 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,688 once and liked it 70 people.