当前位置:网站首页>Building SQL statements in Excel
Building SQL statements in Excel
2022-06-29 15:23:00 【Game programming】
1、 background
In production , We are often faced with importing Excel Data to database requirements , Before writing the importer , In the case of importing database client tools . We can go through Excel Its own formula constructs sql sentence , Can be copied to run .
- Prepare the material Excel The table is as follows :

Database table information to be imported :

2、 Implementation process
2.1 Use CONCATENATE Function batch splicing "insert" sentence .
- stay F Enter the following formula in the field :
=CONCATENATE("insert into register_shop_info (shop_code,shop_name,shop_id,company_id) values ('",C1,"','",B1,"','",D1,"','",A1,"');")
- Press and drag the right subscript

Copy out sql sentence , And execute... In the database .

Data presentation

Reference resources :https://blog.csdn.net/vince6799/article/details/2564931
author :Geroge1226
Game programming , A game development favorite ~
If the picture is not displayed for a long time , Please use Chrome Kernel browser .
边栏推荐
- Informatics Olympiad all in one 1003: aligned output
- MCS:离散随机变量——几何分布
- c#Sqlite类库
- Lumiprobe deoxyribonucleic acid alkyne DT phosphimide
- 知识点:PCB线路板布线都有哪些诀窍?
- BioVendor游离轻链(κ和λ)Elisa 试剂盒的化学性质
- 关于遥感图像解译的思考
- Construction and application of medical field Atlas of dingxiangyuan
- 明德扬XILINX-K7-325T/410T核心板数据手册
- 从雷达回波中可获取的信息
猜你喜欢

Solution to the problem that the assembly drawing cannot be recognized after the storage position of SolidWorks part drawing is changed

Lumiprobe 点击化学丨非荧光叠氮化物:叠氮化物-PEG3-OH

第九章 APP项目测试(此章完结)

Lumiprobe deoxyribonucleic acid phosphate CpG 1000 solid carrier
![Abnormal logic reasoning problem of Huawei software test written test [2] Huawei hot interview problem](/img/f0/5c2504d51532dcda0ac115f3703384.gif)
Abnormal logic reasoning problem of Huawei software test written test [2] Huawei hot interview problem

知识点:PCB线路板布线都有哪些诀窍?

Lumiprobe reactive dye miscellaneous dye: BDP FL ceramide

信息学奥赛一本通1194:移动路线

Solidworks零件图存放位置更改后装配图识别不出来的解决办法

curl: (56) Recv failure: Connection reset by peer
随机推荐
深度学习遥感数据集
Get the width of text component content
PostgreSQL learning (based on rookie course)
第九章 APP项目测试(4) 测试工具
MCS:离散随机变量——Poisson分布
Solution to the problem that the assembly drawing cannot be recognized after the storage position of SolidWorks part drawing is changed
MCS:多元随机变量——离散随机变量
这是少了什么依赖嘛?FlinkSql打包运行的时候报错,但是本地idea跑的时候是没问题的,求解,谢
Leetcode notes: biweekly contest 81
nfs配置两台主机之间的文件映射
MCS:多元随机变量——多项式分布
MySQL JSON array operation JSON_ array_ append、json_ array_ insert
LeetCode-1188. Designing finite blocking queues
Solidworks零件图存放位置更改后装配图识别不出来的解决办法
Chaîne lumineuse libre biovendor κ Et λ) Propriétés chimiques du kit ELISA
又拍云 Redis 的改进之路
MCS: multivariate random variable polynomial distribution
Review of digital image processing
I am 35 years old. Can I change my career to be a programmer?
Unity C basic review 27 - delegation example (p448)