Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT CONCAT( 'DROP TABLE `', TABLE_NAME, '`;' ) AS query
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME LIKE '%_gmp_%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment