博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Mysql-删除指定前缀的表
阅读量:3934 次
发布时间:2019-05-23

本文共 218 字,大约阅读时间需要 1 分钟。

1.查询删除语句

其中pms就是你要删除表的前缀,替换成你所需的即可

select group_concat(m separator ';') DROP_sqlfrom (Select CONCAT( 'drop table ', table_name, '' ) m  FROM information_schema.tables   Where table_name LIKE 'pms_%') a

2.执行删除语句

在这里插入图片描述

删除成功!!!
在这里插入图片描述

转载地址:http://pkqgn.baihongyu.com/

你可能感兴趣的文章
Volumetric 3D Mapping in Real-Time on a CPU
查看>>
Hierarchical voxel block hashing for effiecient integration of depth images
查看>>
sparse non-rigid registration of 3d shapes
查看>>
mesh gradient的求法
查看>>
如何将模型简化
查看>>
安装kinnect v1驱动
查看>>
set up BU Printer on ubuntu
查看>>
如何写CmakeList.txt文件使在qtcreator里面显示源文件
查看>>
Generative adversarial nets
查看>>
new函数的底层实现
查看>>
找不到FLANNConfig.cmake文件
查看>>
flann中关于数据的stride
查看>>
cv::Mat ptr 和 at 注意事项
查看>>
cuda更新过后, findcuda找不到怎么办?
查看>>
cast shared_ptr to shared_ptr
查看>>
CHECK opengl version
查看>>
scatter and gather in thrust
查看>>
block compressed sparse row (BSR) matrix format
查看>>
第一章 在VS2008下如何配置好CG环境
查看>>
disable the touchpad by shortcut on the ubuntu
查看>>