当前位置:网站首页>Dbeaver executes multiple insert into error processing at the same time
Dbeaver executes multiple insert into error processing at the same time
2022-07-05 21:45:00 【Reasonable meow~~】
One 、 background
Previously used database connection software Navicat The cracked version of , Later, the company asked not to use the cracked version Navicat, So I changed it DBeaver.
This is a very good software , free , And you can connect to different types of databases ,MySQL、Oracle、hive、SQLserver Etc. can be used , Very convenient and conscientious , But a problem was found in the process of using ,DBeaver The default is that you cannot submit multiple SQL Of the statement , Because in the company , There are individual requirements that need to be imported Excel The data of , Therefore, batch execution is not allowed SQL It's really a problem .
forced , Searching finally found a way , Now it is also recorded and analyzed for everyone .
Two 、 Problem recurrence
1, New data table
CREATE TABLE SLM.test_data(
name varchar(20)
,age varchar(20)
);
2, Data insertion statement
INSERT INTO SLM.test_data values ('xiaoming','20');
INSERT INTO SLM.test_data values ('xiaohua','25');
INSERT INTO SLM.test_data values ('tom','13');
3, Problem recurrence

Be careful : The error report shows that the problem is in the second , Now look in the data sheet , There is no data inserted
SELECT * FROM test_data;
3、 ... and 、 Problem solving
1, Modify settings
Right click the database connection – Edit connection – Drive properties
modify allowMultiQueries, The default is false, Need to change to true, Click OK 

2, Rerun SQL sentence
INSERT INTO SLM.test_data values ('xiaoming','20');
INSERT INTO SLM.test_data values ('xiaohua','25');
INSERT INTO SLM.test_data values ('tom','13');

3, Look at the data results

This is the end of the article , I'm meow ~~, If you have any questions, welcome to communicate with us .
边栏推荐
- Experienced inductance manufacturers tell you what makes the inductance noisy. Inductance noise is a common inductance fault. If the used inductance makes noise, you don't have to worry. You just need
- 初级软件测试必问面试题
- Ethereum ETH的奖励机制
- Image editor for their AutoLayout environment
- Exercise 1 simple training of R language drawing
- Access Zadig self-test environment outside the cluster based on ingress controller (best practice)
- int GetMonth( ) const throw( );后面的throw( )什么意思?
- Pointer parameter passing vs reference parameter passing vs value parameter passing
- 思特奇加入openGauss开源社区,共同推动数据库产业生态发展
- 从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
猜你喜欢

Making global exception handling classes with aspect

Incentive mechanism of Ethereum eth

2022-07-03-CKA-粉丝反馈最新情况

What should I do to prepare for the interview algorithm position during school recruitment?

校招期间 准备面试算法岗位 该怎么做?

深信服X计划-网络协议基础 DNS

Feng Tang's "spring breeze is not as good as you" digital collection, logged into xirang on July 8!

Reading and writing operations of easyexcel

Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer

面试官:并发编程实战会吗?(线程控制操作详解)
随机推荐
GCC9.5离线安装
QML reported an error expected token ";", expected a qualified name ID
Experienced inductance manufacturers tell you what makes the inductance noisy. Inductance noise is a common inductance fault. If the used inductance makes noise, you don't have to worry. You just need
selenium 获取dom内验证码图片
About the writing method of SQL field "this includes" and "included in" strings
Advantages of robot framework
How can Huawei online match improve the success rate of player matching
Cross end solutions to improve development efficiency
2022-07-03-CKA-粉丝反馈最新情况
Problems encountered in office--
int GetMonth( ) const throw( ); What does throw () mean?
Xlrd common operations
JMeter installation under win7
Four components of logger
selenium 查找b或p标签的内容
Codeforces 12D ball tree array simulation 3 sorting elements
Analysis and test of ModbusRTU communication protocol
Codeforces 12D Ball 树形阵列模拟3排序元素
SecureCRT使用提示
2.2.3 output of documents