RefLib

Reference library for AI

Back

postgresql_16:7.1.179 TRUNCATE

PostgreSQL 16 > Reference > SQL Commands > TRUNCATE

empty a table or set of tables

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

Subsections

Back