How to Disable Foreign Key Constraint in Postgresql?
The following examples demonstrate how to manually set up foreign key constraints in PostgreSQL. In the first example, we’re setting up a dummy record that is a child of an existing table. This will be used as an example of how to set up and then remove a foreign key constraint.
how to disable foreign key constraint in postgresql
By Emmanuel Mahuni
on Apr 04, 2021
ALTER TABLE tbl_StudentMarks DISABLE TRIGGER ALL;
Source: www.dbrnd.com
-3
In the second example, we’re setting up two tables with no foreign key constraints between them.
ActionScript answers related to "how to disable foreign key constraint in postgresql"
View All ActionScript queriesActionScript queries related to "how to disable foreign key constraint in postgresql"
Browse Other Code Languages
Abap ActionScript Assembly BASIC C C# C++ Clojure Cobol CSS Dart Delphi Elixir Erlang F# Fortran Go Groovy Haskell Html Java Javascript Julia Kotlin Lisp Lua Matlab Objective-C Pascal Perl PHP PostScript Prolog Python R Ruby Rust Scala Scheme Shell/Bash Smalltalk SQL Swift TypeScript VBA WebAssembly Whatever