truncate普通表

最近更新时间: 2024-06-12 15:06:00

postgres=# truncate table t1;
TRUNCATE TABLE
#也可以一次truncate多个数据表
postgres=# truncate table t1,t2;
TRUNCATE TABLE