当前位置:网站首页>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 .
边栏推荐
- Ethereum ETH的奖励机制
- Deployment of Jenkins under win7
- EasyExcel的讀寫操作
- Kingbasees v8r3 data security case - audit record clearing case
- regular expression
- DBeaver同时执行多条insert into报错处理
- HDU 4391 Paint The Wall 段树(水
- Golang(1)|从环境准备到快速上手
- Exercise 1 simple training of R language drawing
- Matlab | app designer · I used Matlab to make a real-time editor of latex formula
猜你喜欢

怎么利用Tensorflow2进行猫狗分类识别

EasyExcel的讀寫操作

Huawei fast game failed to call the login interface, and returned error code -1
![Longest swing sequence [greedy practice]](/img/e1/70dc21b924232c7e5e3da023a4bed2.png)
Longest swing sequence [greedy practice]

張麗俊:穿透不確定性要靠四個“不變”

Cold violence -- another perspective of objective function setting

力扣------经营摩天轮的最大利润

Teach yourself to train pytorch model to Caffe (III)

Making global exception handling classes with aspect

KingbaseES V8R3集群维护案例之---在线添加备库管理节点
随机推荐
Teach yourself to train pytorch model to Caffe (I)
854. 相似度为 K 的字符串 BFS
postgres 建立连接并删除记录
one hundred and twenty-three thousand four hundred and fifty-six
Huawei cloud modelarts text classification - takeout comments
Cross end solutions to improve development efficiency
基于 Ingress Controller 在集群外访问 Zadig 自测环境(最佳实践)
Feng Tang's "spring breeze is not as good as you" digital collection, logged into xirang on July 8!
2.2 basic grammar of R language
Deeply convinced plan X - network protocol basic DNS
What should I do to prepare for the interview algorithm position during school recruitment?
EL与JSTL注意事项汇总
Deployment of Jenkins under win7
The primary key is set after the table is created, but auto increment is not set
华为快游戏调用登录接口失败,返回错误码 -1
如何组织一场实战攻防演练
selenium 查找b或p标签的内容
初级软件测试必问面试题
KingbaseES V8R3集群维护案例之---在线添加备库管理节点
MMAP learning