会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
olzoooo
博客园
首页
新随笔
联系
订阅
管理
2020年3月2日
批量删除数据库中所有的表和表中的数据
摘要: select concat('drop table if exists ',table_name,';') from information_schema.tables where table_schema = 'mytestdb' 通过在information_schema中查询出数据库名为myt
阅读全文
posted @ 2020-03-02 14:56 olzoooo
阅读(883)
评论(0)
推荐(0)
编辑
公告