将Excel数据导入数据库 [英] Import excel data to database

查看:97
本文介绍了将Excel数据导入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有数据的excel表我想将该数据导入数据库,但导入的Excel工作表格式不同,数据库结构不同。如何将excel表格导入数据库。



谢谢



我有什么试过:



i累了相同格式,即excel和数据库格式相同

解决方案

< blockquote>请参阅使用MS Excel(xls / xlsx)使用MDAC和Oledb [ ^ ]。获得Excel数据后,只需将字段与数据库中的字段匹配即可。


i have excel sheet with data i want to import that data to database but the imported excel sheet format is different and database structure is different. how i can import that excel sheet into database.

thank you

What I have tried:

i tired with same format i.e., both excel and database having same format

解决方案

See Working with MS Excel(xls / xlsx) Using MDAC and Oledb[^]. Once you have the Excel data you just need to match the fields with those of your database.


这篇关于将Excel数据导入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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