当前位置:网站首页>如何在MySQL中的数据库下删除所有的表
如何在MySQL中的数据库下删除所有的表
2022-08-04 02:28:00 【CSDN问答】
如何在MySQL中的数据库下删除所有的表

SELECT concat('DROP TABLE IF EXISTS ', table_name, ';')
-> FROM information_schema.tables
-> WHERE table_schema = 'u';

Xshell中的结果

用此条命令为什么VMware中报错,但是Xshell中可以显示出结果呢?
在Xshell中只能出现删除表的语句,但是在WMware中,不能进行复制粘贴,如何在WMware中使用一条命令删除数据库下的所有表呢?
边栏推荐
- 什么是SVN(Subversion)?
- 2022广东省安全员A证第三批(主要负责人)考试题库及模拟考试
- 计算首屏时间
- Flink原理流程图简单记录
- SAP SD module foreground operation
- 工程制图复习题
- 2022.8.3-----leetcode.899
- pytorch applied to MNIST handwritten font recognition
- 持续投入商品研发,叮咚买菜赢在了供应链投入上
- Rongyun "Audio and Video Architecture Practice" technical session [complete PPT included]
猜你喜欢

In a more general sense, calculating the displacement distance and assumptions

splice随机添加和删除的写法

Zabbix设置邮件告警+企业微信告警

Qt中对象树的机制介绍以及底层实现,各种结果分析:(以及自己写容易犯错的点)

【云原生】DevOps(六):Jenkins流水线

实例039:有序列表插入元素

Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment

MallBook联合人民交通出版社,推动驾培领域新发展,开启驾培智慧交易新生态

贪吃蛇游戏Bug解析及功能扩展

Countdown to 2 days, the "New Infrastructure of Cultural Digital Strategy and Ecological Construction of Cultural Art Chain" will kick off soon
随机推荐
Web APIs BOM - operating browser: swiper plug-in
P3384 【模板】轻重链剖分/树链剖分
云开发校园微社区微信小程序源码/二手交易/兼职交友微信小程序开源源码
JS 保姆级贴心,从零教你手写实现一个防抖debounce方法
Example 035: Setting the output color
工程制图复习题
Download install and create/run project for HBuilderX
FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
Flutter3.0线程——四步教你如何全方位了解(事件队列)
There are n steps in total, and you can go up to 1 or 2 steps each time. How many ways are there?
ssh服务详解
大佬们,读取mysql300万单表要很长时间,有什么参数可以优惠,或者有什么办法可以快点
QNX Hypervisor 2.2用户手册]10.1 通用vdev选项
Small Turtle Compilation Notes
0.1 前言
QNX Hypervisor] 10.2 vdev 8259 2.2 user manual
What is SVN (Subversion)?
瑞能微计量芯片RN2026的实用程序
HBuilderX的下载安装和创建/运行项目
安全至上:落地DevSecOps最佳实践你不得不知道的工具