当前位置:网站首页>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 .
边栏推荐
- Poj3414广泛搜索
- Incentive mechanism of Ethereum eth
- Teach yourself to train pytorch model to Caffe (2)
- Net small and medium-sized enterprise project development framework series (one)
- Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
- Uni app Bluetooth communication
- The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
- Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
- EL与JSTL注意事项汇总
- Summary of El and JSTL precautions
猜你喜欢

Some common processing problems of structural equation model Amos software

Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned

Huawei cloud modelarts text classification - takeout comments

QML reported an error expected token ";", expected a qualified name ID

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

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

How can Huawei online match improve the success rate of player matching

Clickhouse copy paste multi line SQL statement error

Zhang Lijun: penetrating uncertainty depends on four "invariants"

Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
随机推荐
MySQL InnoDB Architecture Principle
Some things make feelings nowhere to put
Access Zadig self-test environment outside the cluster based on ingress controller (best practice)
What should I do to prepare for the interview algorithm position during school recruitment?
uni-app 蓝牙通信
Detailed explanation of memset() function usage
The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
Net small and medium-sized enterprise project development framework series (one)
Teach yourself to train pytorch model to Caffe (2)
初级软件测试必问面试题
Efficiency difference between row first and column first traversal of mat data types in opencv
Clickhouse copy paste multi line SQL statement error
Simple interest mode - evil Chinese style
Objects in the list, sorted by a field
How can Huawei online match improve the success rate of player matching
Reading and writing operations of easyexcel
selenium 查找b或p标签的内容
Huawei fast game failed to call the login interface, and returned error code -1
About the writing method of SQL field "this includes" and "included in" strings
EBS Oracle 11g 克隆步骤(单节点)