简体   繁体   English

从SQL Server 2008迁移到MS Access 2007

[英]Migrate from SQL Server 2008 to MS access 2007

I would want to migrate the data from SQL Server 2008 to MS access 2007. How can this be done? 我想将数据从SQL Server 2008迁移到MS Access2007。该怎么办? Also, how to connect MS access to ASP.NET web application? 另外,如何将MS访问连接到ASP.NET Web应用程序? The code behind the pages is in C#. 页面后面的代码在C#中。 The IDE is VS 2008. Any pointers appreciated. IDE是VS2008。感谢所有指针。

Thanks in advance. 提前致谢。

My advice. 我的建议。 Don't migrate... use SQL Server Express 2008 (free) if you're worried about licensing. 不要迁移...如果您担心许可,请使用SQL Server Express 2008(免费)。 MS Access only supports 1 concurrent user at a time. MS Access一次仅支持1个并发用户。 You won't be able to modify your data while the application is using it. 当应用程序使用数据时,您将无法对其进行修改。

EDIT: Let me clarify the "only supports 1 concurrent user at a time": When using access within an ASP.NET application, IIS will lock it and your users will not be able to make edits to the data it is using. 编辑:让我澄清“一次仅支持1个并发用户”:在ASP.NET应用程序中使用访问权限时,IIS将锁定它,并且您的用户将无法对其正在使用的数据进行编辑。

Accessing accdb from ASP.NET is not officially supported. 不正式支持从ASP.NET访问accdb。 You shouldn't do it. 你不应该这样做。

http://www.microsoft.com/DOWNLOADS/en/details.aspx?FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d&displaylang=en http://www.microsoft.com/DOWNLOADS/en/details.aspx?FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d&displaylang=en

The Office System Drivers are only supported under certain scenarios, including: 仅在某些情况下支持Office System驱动程序,包括:

  • Desktop applications which read from and write to various files formats including Microsoft Office Access, Microsoft Office Excel and text files. 可读取和写入各种文件格式的桌面应用程序 ,包括Microsoft Office Access,Microsoft Office Excel和文本文件。
  • To transfer data between supported file formats and a database repository such as SQL Server; 在支持的文件格式和数据库存储库(例如SQL Server)之间传输数据; in the context of a desktop application . 在桌面应用程序中

For alternatives to SQL Server with ASP.NET look at SQL Server Express or the myriad of other available options like SQLite, MySQL, Postgres. 有关使用ASP.NET替代SQL Server的信息,请查看SQL Server Express或无数其他可用选项,例如SQLite,MySQL,Postgres。

Just use the "Import" feature in access, connect to your SQL Server, and import all the data. 只需在访问中使用“导入”功能,连接到SQL Server,然后导入所有数据即可。 There are potential incompatibilities but chances are good that you won't run into them. 存在潜在的不兼容性,但您很有可能不会碰到它们。

You'll notice that most database jocks have little regard for access but it's not as dysfunctional as some of them seem to think, when you use it for appropriate purposes. 您会注意到,大多数数据库程序都很少考虑访问,但是当您将其用于适当的目的时,它并没有像其中一些人所认为的那样功能失调。

Is MS Access (JET) suitable for multiuser access? MS Access(JET)是否适合多用户访问?

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

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