SELECT CONCAT('truncate TABLE ',table_schema,'.',TABLE_NAME, ';') FROM INFORMATION_SCHEMA.TABLES WHERE table_schema IN ('ttsf_production');
Powered by: 博客园 Copyright © 2024 shenyixin Powered by .NET 8.0 on Kubernetes