摘要: DO $$ DECLARE names CURSOR FOR select tablename from pg_tables where schemaname='xxxx'; BEGIN FOR stmt IN names LOOP EXECUTE 'truncate table ' || quot 阅读全文
posted @ 2021-10-14 11:01 Elon-Yan 阅读(59) 评论(0) 推荐(0) 编辑