当前位置:网站首页>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 .
边栏推荐
- 他们主动布局(autolayout)环境的图像编辑器
- Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned
- 华为快游戏调用登录接口失败,返回错误码 -1
- 阿里云有奖体验:用PolarDB-X搭建一个高可用系统
- 华为联机对战如何提升玩家匹配成功几率
- Simple interest mode - evil Chinese style
- Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
- oracle 控制文件的多路复用
- How can Huawei online match improve the success rate of player matching
- Some things make feelings nowhere to put
猜你喜欢
MATLAB | App Designer·我用MATLAB制作了一款LATEX公式实时编辑器
MQ----activeMq
资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
Yolov5 training custom data set (pycharm ultra detailed version)
PIP install beatifulsoup4 installation failed
Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
Parker驱动器维修COMPAX控制器维修CPX0200H
华为联机对战如何提升玩家匹配成功几率
Two ways to realize video recording based on avfoundation
QML reported an error expected token ";", expected a qualified name ID
随机推荐
poj 3237 Tree(樹鏈拆分)
kingbaseES V8R3数据安全案例之---审计记录清除案例
Huawei cloud modelarts text classification - takeout comments
854. 相似度为 K 的字符串 BFS
Robot framework setting variables
Four components of logger
让开发效率提升的跨端方案
Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)
Exercise 1 simple training of R language drawing
华为快游戏调用登录接口失败,返回错误码 -1
Cold violence -- another perspective of objective function setting
冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
张丽俊:穿透不确定性要靠四个“不变”
ESP32
張麗俊:穿透不確定性要靠四個“不變”
Scenario interview: ten questions and ten answers about distributed locks
Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
Li Kou ----- the maximum profit of operating Ferris wheel
递归查询多级菜单数据
How can Huawei online match improve the success rate of player matching