Skip to content

Instantly share code, notes, and snippets.

@yingrong
Created August 7, 2013 01:31
Show Gist options
  • Select an option

  • Save yingrong/6170450 to your computer and use it in GitHub Desktop.

Select an option

Save yingrong/6170450 to your computer and use it in GitHub Desktop.
mysql中操作information_schema.tables ;LIKE 'XXX_%' ;CONCAT
Select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_name LIKE 'XXX_%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment