当前位置:网站首页>mysql 查询当前数据库下的表名
mysql 查询当前数据库下的表名
2022-07-25 06:08:00 【sayyy】
生成 truncate table
select concat('truncate table `', `table_name`, '`;')
from `information_schema`.`tables` where `table_schema`=DATABASE() and `table_type`='BASE TABLE';
生成 delete from
select concat('delete from `', `table_name`, '`;')
from `information_schema`.`tables` where `table_schema`=DATABASE() and `table_type`='BASE TABLE';
边栏推荐
- mysql数据库备份和恢复
- Detailed annotation and analysis of start.s of uboot
- 计算BDP值和wnd值
- (2022 Niuke multi School II) k-link with bracket sequence I (dynamic planning)
- 深度解析:2022年最火的商业模式链动2+1,是合法模式吗?
- Dynamic planning learning notes
- Design of automatic machine dot drawing script based on C language
- Pdf snapshot artifact
- 出于数据安全考虑,荷兰教育部要求学校暂停使用 Chrome 浏览器
- [node] the service port is occupied error: listen eaddinuse: address already in use::: 9000- how to close the port started by node
猜你喜欢

Evolution of coupon architecture under C2B mode

Blocking Queue Analysis

(2022 Niuke multi School II) k-link with bracket sequence I (dynamic planning)
![[ultra detailed diagram] FPN + mask RCNN](/img/ef/ddd62fe7e54074c134aa5ee4cc5840.png)
[ultra detailed diagram] FPN + mask RCNN

New discovery of ROS callback function

HTB-Granpa

Brief introduction of acoustic filter Market

QT qtextedit setting qscrollbar style sheet does not take effect solution
![(14)[驱动开发]配置环境 VS2019 + WDK10 写 xp驱动](/img/90/0d94d26be8128d77de65919763fda5.png)
(14)[驱动开发]配置环境 VS2019 + WDK10 写 xp驱动

Difference between NPX and NPM
随机推荐
Function template learning record
HTB-Optimum
Equal proportion of R language test group: use the prop.test function to test whether the success proportion of the two groups is equal
Run length test of R language: use the runs.test function to perform run length test on binary sequence data (check whether the sequence is random)
PMP Exam is easy to confuse concept discrimination skills! Don't lose points after reading!
MySQL中建表时 pk、nn、qu、b、un、zf、ai、g代表的意思
VBA common objects
leetcode/整数除法
Leetcode/ integer division
A little experience about von Mises distribution
R language ggpubr package ggarrange function combines multiple images and annotates_ Figure add annotation, annotation, annotation information for the combined image, and use the right parameter to ad
VIM configuring golang development environment
动态规划学习笔记
Why is it that all the games are pseudorandom and can't make true random?
ECS is exclusive to old users, and the new purchase of the remaining 10 instances is as low as 3.6% off
ROI pooling and ROI align
[ultra detailed diagram] FPN + mask RCNN
HTB-Granpa
HTB-Beep
Qt 5界面修改无效的问题解决QtDesigner修改之后无效的解决办法