Postgres: Truncate table(s)

 TRUNCATE TABLE table_name1, table_name2, ...;



TRUNCATE [ TABLE ] [ ONLY ] name [ * ] [, ... ]
    [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]

Comments

Popular posts from this blog

Postgres: Clean up stopped replication slot