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
- postgresql_16:7.1.179.1 Description
- postgresql_16:7.1.179.2 Parameters
- postgresql_16:7.1.179.3 Notes
- postgresql_16:7.1.179.4 Examples
- postgresql_16:7.1.179.5 Compatibility
- postgresql_16:7.1.179.6 See Also