当前位置:网站首页>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 .
边栏推荐
- int GetMonth( ) const throw( ); What does throw () mean?
- Matlab | app designer · I used Matlab to make a real-time editor of latex formula
- Some common processing problems of structural equation model Amos software
- [daily training] 729 My schedule I
- Net small and medium-sized enterprise project development framework series (one)
- 2.2 basic grammar of R language
- Deeply convinced plan X - network protocol basic DNS
- crm创建基于fetch自己的自定义报告
- 大约SQL现场“这包括”与“包括在”字符串的写法
- Access Zadig self-test environment outside the cluster based on ingress controller (best practice)
猜你喜欢

Realize the function of verifying whether the user has completed login when browsing the page

Huawei fast game failed to call the login interface, and returned error code -1

Parker driver maintenance COMPAX controller maintenance cpx0200h

Opérations de lecture et d'écriture pour easyexcel

Explain various hot issues of Technology (SLB, redis, mysql, Kafka, Clickhouse) in detail from the architecture

递归查询多级菜单数据

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

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

Deployment of Jenkins under win7

Zhang Lijun: penetrating uncertainty depends on four "invariants"
随机推荐
123456
KingbaseES V8R3集群维护案例之---在线添加备库管理节点
2022-07-03-cka- latest feedback from fans
HYSBZ 2243 染色 (树链拆分)
Summary of El and JSTL precautions
ESP32
Golang(1)|从环境准备到快速上手
postgres 建立连接并删除记录
Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
Chap2 steps into the palace of R language
Matlab | app designer · I used Matlab to make a real-time editor of latex formula
Parker driver maintenance COMPAX controller maintenance cpx0200h
Poj3414广泛搜索
总结出现2xx、3xx、4xx、5xx状态码的原因
EL与JSTL注意事项汇总
Net small and medium-sized enterprise project development framework series (one)
MMAP学习
2.2.3 output of documents
2.2 basic grammar of R language
Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned