当前位置:网站首页>1.3 mysql batch insert data
1.3 mysql batch insert data
2022-08-05 05:11:00 【LetsStudy】
DROP PROCEDUREIF EXISTS test_data;DELIMITER $$ //delimiterCREATE PROCEDURE test_data()BEGIN-- define variablesDECLARE i INT UNSIGNED DEFAULT 1; -- define the default value of variable i-- CyclesWHILE i <= 1000 DO -- loopINSERT INTO testdata_check(id,crawl_cfg_id,detection_type,crawl_file_info_id,task_instance_id,crawl_content) VALUES(CONCAT('17ac3e7419954b63878157491a4e8d42',i),'2','5',null,'1f9d7b13c0174dc0afa52f00a5: "http:d7b13c0174dc0afa52f00a5"//www.beijing.gov.cn/shipin/Interviewlive/558.html", "title": "Beijing Press Conference on Novel Coronavirus Pneumonia Epidemic Prevention and Control (Session 253)", "author": "", "domain": "beijing.gov.cn", "islist": "False", "content": "Resetrestore all settings to the default values", "send_time": "2022-07-29 17:32:52", "create_time": "2022-07-29 17:32:52", "islist_code": 0.1447209933229973, "publish_time": "2021-11-01"}');SET i = i+1; -- update the value of iEND WHILE; -- end the loopEND $$--CALL test_data();
边栏推荐
- 人性的弱点
- Basic properties of binary tree + oj problem analysis
- The solution to the failure to read channel information when dedecms generates a message in the background
- How to quickly upgrade your Taobao account to a higher level
- Cron(Crontab)--use/tutorial/example
- Error creating bean with name ‘configDataContextRefresher‘ defined in class path resource
- [cesium] 3D Tileset model is loaded and associated with the model tree
- 结构光三维重建(二)线结构光三维重建
- What is ASEMI photovoltaic diode, the role of photovoltaic diode
- Flutter learning 5-integration-packaging-publish
猜你喜欢
"Recursion" recursion concept and typical examples
mutillidae download and installation
The difference between span tag and p
Qt produces 18 frames of Cupid to express his love, is it your Cupid!!!
虚证、实证如何鉴别?
Use IDEA to connect to TDengine server
ansible各个模块详解
Structured light 3D reconstruction (1) Striped structured light 3D reconstruction
Please write the SparkSQL statement
span标签和p标签的区别
随机推荐
dedecms报错The each() function is deprecated
说说数据治理中常见的20个问题
Understanding and use of C# on set() and get() methods
Day14 jenkins deployment
【informix】解决启动报错大全,以及解决办法
Error creating bean with name ‘configDataContextRefresher‘ defined in class path resource
Requests库部署与常用函数讲解
ESP32 485光照度
【解码工具】Bitcoin的一些在线工具
软件管理rpm
类的底层机制
淘宝账号如何快速提升到更高等级
upload upload pictures to Tencent cloud, how to upload pictures
仪表板展示 | DataEase看中国:数据呈现中国资本市场
【Transfer】What is etcd
【无标题】
雷克萨斯lm的安全性到底体现在哪里?一起来看看吧
server disk array
2023年信息与通信工程国际会议(JCICE 2023)
The solution to the failure to read channel information when dedecms generates a message in the background