DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
how to truncate table with foreign key constraint postgresql
TRUNCATE table_name RESTART IDENTITY CASCADE;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#truncate
#table
#foreign
#key
#constraint
#postgresql
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit