如何将excel文件连接到sql server上的数据库 [英] How to connect an excel file to a database on sql server

查看:115
本文介绍了如何将excel文件连接到sql server上的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个包含一些数据的Excel文件,这个excel会定期更新。我想以某种方式将此文件指向sql server上的数据库,或者将sql server上的数据库指向此文件,如果你愿意的话。



我的问题



可以将这个excel文件指向数据库进入sql server,这样这个文件中包含的数据也包含在sql server的数据库中?当excel文件更新时,sql server上的数据库是否可能自动更新?是这样的,我将如何实现这一目标?



感谢您的时间。

解决方案

请按照下列步骤操作:

如何将Excel与SQL Server链接服务器和分布式查询一起使用 [ ^ ]

如何:连接到SQL Server Express数据库中的数据 [ ^ ]

Hi All,

I have got an Excel file that contains some data and this excel is updated on a regular basis. I would like to somehow point this file into a database on sql server or point a database on sql server to this file if you will.

My Question

is possible to point this excel file to a database into sql server so that the data contained in this file is also contained in the database on sql server? also when the excel file is updated , is it possible that the DB on sql server automatically updates accordingly? is so , How would i go about in achieving thus?

Thank you for your time.

解决方案

Follow these steps:
How to use Excel with SQL Server linked servers and distributed queries [^]
How to: Connect to Data in a SQL Server Express Database[^]


这篇关于如何将excel文件连接到sql server上的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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