Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres truncate with cascade

TRUNCATE sch.mytable RESTART IDENTITY CASCADE;
Source by dba.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #postgres #truncate #cascade
ADD COMMENT
Topic
Name
6+2 =