赞
踩
SELECT table_name
FROM information_schema.tables
WHERE table_name LIKE 'fxp%';
TRUNCATE TABLE xxx;
DO $$
DECLARE
table_name VARCHAR;
BEGIN
FOR table_name IN
SELECT table_name
FROM information_schema.tables
WHERE table_name LIKE 's-127%'
LOOP
EXECUTE 'TRUNCATE TABLE ' || table_name;
END LOOP;
END $$;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。