简体   繁体   English

ms-access和sql server如何相互交互?

[英]how ms-access and sql server interact each other?

I have an ms-access database and I need when ever I add a record to my table automatically add a similar record to sql database how it is possible ? 我有一个ms-access数据库,我需要何时将记录添加到表中,自动将类似的记录添加到sql数据库,这是怎么可能的?

Edit : How I can create an SSIS package(s) and set SQL Server Agent run to periodically load the data? 编辑 :如何创建一个SSIS包并设置SQL Server代理运行以定期加载数据?

If you are using SQL Server 2000 you can use replication. 如果使用的是SQL Server 2000,则可以使用复制。 But this feature is deprecated from SQL Server 2005 onwards. 但是从SQL Server 2005起不推荐使用此功能。 See http://msdn.microsoft.com/en-us/library/ms143470.aspx . 请参阅http://msdn.microsoft.com/en-us/library/ms143470.aspx

Assuming that you are on a later version, there are a couple of options I can see: 假设您使用的是更高版本,则可以看到几个选项:

1) Migrate from Access to SQL Server Express and use replication. 1)从Access迁移到SQL Server Express并使用复制。

2) Create an SSIS package(s) to import the data. 2)创建一个SSIS包以导入数据。 The package(s) can be scheduled in SQL Server Agent run to periodically load the data. 可以在SQL Server代理运行中计划这些包,以定期加载数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM