Home > Database > Mysql Tutorial > 批量删除指定表前缀表

批量删除指定表前缀表

WBOY
Release: 2016-06-07 14:57:13
Original
1787 people have browsed it

批量删除指定表前缀表 无 源码与演示: 源码出处 Select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_name LIKE 'dede_%';

批量删除指定表前缀表

源码与演示:源码出处

Select CONCAT( 'drop table ', table_name, ';' ) 
FROM information_schema.tables 
Where table_name LIKE 'dede_%';
Copy after login
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template