当前位置:网站首页>MySQL modifies multiple tables and adds multiple fields through SQL
MySQL modifies multiple tables and adds multiple fields through SQL
2022-06-25 21:41:00 【Hindsight 2022】
// Set up current sessin In the session group_concat Maximum storage length , Default 1024
SET SESSION group_concat_max_len = 20240;
show variables like 'group_concat_max_len'
// After querying multiple tables , Dynamic splicing alert sentence
select group_concat('alter table ', table_schema, '.', table_name, ' add column test INT(10);' SEPARATOR "")
from information_schema.tables
WHERE TABLE_SCHEMA = 'db_vue_pro' and table_name not like 'act_%'
边栏推荐
- [nailing scenario capability package] company / Park Digital canteen
- Support JPEG format in GD Library in php7.4
- Free your hands and automatically brush Tiktok
- HNU计网实验:实验四 应用层和传输层协议分析(PacketTracer)
- How to write an infinite loop
- [nail scenario capability package] hospital visitor verification
- What is ARP (address resolution protocol)? (Powercert animated videos)
- Local Yum source production
- Please enter an integer and output it as several digits, and output each digit in reverse order.
- Ecu-test report converted to excel format
猜你喜欢

Apache uses setenvif to identify and release the CDN traffic according to the request header, intercept the DDoS traffic, pay attention to the security issues during CDN deployment, and bypass the CDN

Windows11 windows security center cannot open Windows Defender cannot open

"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems

How to solve the problem of flash write protection in STM32?

Big end and small end

The difference between strcpy and memcpy

InfiniBand& RDMA

Get parameters in URL

UDP Vs TCP (Powercert animated videos)

Beginner to embedded development
随机推荐
Canoe learning notes (1)
Understand two major web development patterns
Pat 1050 string subtraction (20 points) string find
[nailing scenario capability package] smart office phone
Rounding related calculation
04 disk space management
How to solve the problem of flash write protection in STM32?
Docker Alpine image installation PHP extension redis
Jmeter- (I) installation of interface test
Set eye color
数字图像处理知识点总结概述
109 practical shell scripts
Opentelemetry architecture and terminology Introduction (Continued)
js(3)
How to write an infinite loop
Jmeter- (IV) regular expression for interface testing
Oracle case: does index range scan really not read multiple blocks?
北工大毕业时用的一些网址
About the version mismatch of unity resource package after importing the project
Using two stacks to realize the function of one queue?