TRUNCATE
Empties a table or set of tables of all rows.
信息
Apache Cloudberry does not enforce referential integrity syntax (foreign key constraints). TRUNCATE
truncates a table that is referenced in a foreign key constraint even if the CASCADE
option is omitted.
Synopsis
TRUNCATE [TABLE] [ONLY] <name> [ * ] [, ...]
[ RESTART IDENTITY | CONTINUE IDENTITY ] [CASCADE | RESTRICT]