是否可以从excel导入数据并存储在Excel数据库中,其中excel表和数据库的模板不同 [英] Is it possible importing data from excel and storing in SQL database where the template of excel sheet and database are different

查看:122
本文介绍了是否可以从excel导入数据并存储在Excel数据库中,其中excel表和数据库的模板不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一个关于以下想法的项目。



数据工程师在他们的模板上制作数据。我有一个包含所有列但不与数据工程师具有相同顺序的数据库。因此,在上传excel文件后,应完成coloum匹配,然后将日期存储在db模板中。



我尝试了什么:



开始阶段。提出这个问题以获得一个想法。 plz help

I would like to build a project on the below idea.

data engineer is making data on their template. I have a database containing all the columns but not in the same order as the data engineer has.So after uploading the excel file the coloum matching should done and then the date is stored in the db template.

What I have tried:

Starting phase.posting this question for getting an idea. plz help

推荐答案

是的,这是可能的。



你可以写一些C#代码来做或者使用SSIS。



您可以完全控制目标桌上的位置。



从中导入数据Excel to SQL | Microsoft Docs [ ^ ]
Yes it is possible.

You can write some C# code to do it or use SSIS.

You will be in full control of what goes where on the target table.

Import data from Excel to SQL | Microsoft Docs[^]


这篇关于是否可以从excel导入数据并存储在Excel数据库中,其中excel表和数据库的模板不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆