[quote=引用 3 楼 clqaitxp 的回复:] select 'truncate table '||table_name||';' from pg_tables where schema_name = 'your_schema'; 把取出来的SQL执行一下就好了,做之前做好备份
select 'truncate table '||table_name||';' from pg_tables where schema_name = 'your_schema'; 把取出来的SQL执行一下就好了,做之前做好备份
956
社区成员
1,459
社区内容
加载中
试试用AI创作助手写篇文章吧