当前位置:网站首页>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 .
边栏推荐
- Summary of El and JSTL precautions
- oracle 控制文件的多路复用
- Zhang Lijun: la pénétration de l’incertitude dépend de quatre « invariants»
- one hundred and twenty-three thousand four hundred and fifty-six
- poj 3237 Tree(樹鏈拆分)
- 华为联机对战如何提升玩家匹配成功几率
- "Grain mall" -- Summary and induction
- 总结出现2xx、3xx、4xx、5xx状态码的原因
- Teach yourself to train pytorch model to Caffe (I)
- 冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
猜你喜欢

uni-app 蓝牙通信

冯唐“春风十里不如你”数字藏品,7月8日登录希壤!

KingbaseES V8R3集群维护案例之---在线添加备库管理节点

Two ways to realize video recording based on avfoundation

阿里云有奖体验:用PolarDB-X搭建一个高可用系统

Efficiency difference between row first and column first traversal of mat data types in opencv

Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node

SQL knowledge leak detection

华为游戏多媒体调用切换房间方法出现异常Internal system error. Reason:90000017

Li Kou ----- the maximum profit of operating Ferris wheel
随机推荐
kingbaseES V8R3数据安全案例之---审计记录清除案例
MMAP
让开发效率提升的跨端方案
场景化面试:关于分布式锁的十问十答
HDU 4391 Paint The Wall 段树(水
Selenium's method of getting attribute values in DOM
Selenium gets the verification code image in DOM
What should I do to prepare for the interview algorithm position during school recruitment?
SQL common syntax records
one hundred and twenty-three thousand four hundred and fifty-six
int GetMonth( ) const throw( );后面的throw( )什么意思?
Image editor for their AutoLayout environment
Huawei fast game failed to call the login interface, and returned error code -1
初级软件测试必问面试题
Oracle检查点队列–实例崩溃恢复原理剖析
Pointer parameter passing vs reference parameter passing vs value parameter passing
Analysis and test of ModbusRTU communication protocol
有些事情让感情无处安放
Drawing HSV color wheel with MATLAB
1.2 download and installation of the help software rstudio