当前位置:网站首页>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();边栏推荐
- 大学物理---质点运动学
- In the hot summer, teach you to use Xiaomi smart home accessories + Raspberry Pi 4 to connect to Apple HomeKit
- About the installation of sklearn library
- 数字_获取指定位数的小数
- 重新审视分布式系统:永远不会有完美的一致性方案……
- flex布局青蛙游戏通关攻略
- write the story about us
- 【转】什么是etcd
- The difference between span tag and p
- Reverse theory knowledge 4
猜你喜欢

一篇博客通关Redis技术栈

结构光三维重建(一)条纹结构光三维重建

The production method of the powered small sailboat is simple, the production method of the electric small sailboat

Excel画图

How can Flutter parent and child components receive click events

App快速开发建设心得:小程序+自定义插件的重要性

WPF中DataContext作用

MySQL Foundation (1) - Basic Cognition and Operation

About the installation of sklearn library

Dephi逆向工具Dede导出函数名MAP导入到IDA中
随机推荐
Mvi架构浅析
1068 Find More Coins
Feature preprocessing
入口点注入
mysql数据库表什么字段类型的存储长度最大?
RL reinforcement learning summary (1)
Analysis of Mvi Architecture
逆向理论知识4
Cron(Crontab)--use/tutorial/example
延迟加载js方式async与defer区别
[cesium] element highlighting
Structured Light 3D Reconstruction (2) Line Structured Light 3D Reconstruction
Dephi逆向工具Dede导出函数名MAP导入到IDA中
类的底层机制
Flutter学习4-基本UI组件
重新审视分布式系统:永远不会有完美的一致性方案……
开发一套高容错分布式系统
Flutter学习-开篇
[Surveying] Quick Summary - Excerpt from Gaoshu Gang
Excel画图