简体   繁体   English

从Access 2003到SQL Server 2008?

[英]From Access 2003 to SQL Server 2008?

A client wants to host their MS Access 2003 backend database into SQL Server 2008 that resides in a different server. 客户端希望将其MS Access 2003后端数据库托管到驻留在其他服务器中的SQL Server 2008中。 They will be using upsizing wizard to move their databases and tables into SQL server. 他们将使用升迁向导将其数据库和表移至SQL Server。

A client also has MS Access front end application written in VB. 客户端还具有用VB编写的MS Access前端应用程序。 After upsizing their database tables to SQL, they want to use SQL server to read/write data and also use adv. 在将数据库表升级为SQL之后,他们希望使用SQL Server读取/写入数据以及使用adv。 programmability features of SQL Server like stored Procs, functions etc. My team will host their SQL database. SQL Server的可编程功能,例如存储的Procs,函数等。我的团队将托管他们的SQL数据库。

Client will have a growing # of users entering data. 客户将有越来越多的用户输入数据。 So what would be the best option for our team to provide access to our SQL server so that they can use only their databases in our SQL Server?Is there a way to provide them a connection string or something like that so that they could test it in their front end application to see if they could connect to our SQL Server to read/write?Basically I want to know What are the different avenues to connect MS Access 2003 front end application written in VB to connect to SQL Server database hosted in a different server so that a user could read/write to SQL database tables? 那么对于我们的团队来说,提供对SQL Server的访问权限以便他们只能使用SQL Server中的数据库的最佳选择是什么?是否可以为他们提供连接字符串或类似的东西以便他们可以对其进行测试我想知道他们是否可以连接到我们的SQL Server进行读取/写入?基本上我想知道用VB编写的MS Access 2003前端应用程序连接到托管在Windows Server 2003中的SQL Server数据库有哪些不同的途径?不同的服务器,以便用户可以读取/写入SQL数据库表? Any thoughts? 有什么想法吗? Thanks. 谢谢。

Actually, how this setup works is not any different than if your developers were using c++, vb.net, c# or even asp.net. 实际上,此设置的工作原理与开发人员使用c ++,vb.net,c#甚至asp.net的情况没有什么不同。 At the end of the day these software development tools such as c++, or FoxPro or MS Access are simply tools that let you write software. 归根结底,这些软件开发工具(例如c ++,FoxPro或MS Access)只是让您编写软件的工具。 The ability of Access to connect to MySql or Oracle or insert your favorite X database brand has existed from day one. 从第一天开始,Access就可以连接到MySql或Oracle或插入您喜欢的X数据库品牌。

As long as your database supports what is called "open database connectivity" then you are off to the races. 只要您的数据库支持所谓的“开放式数据库连接”,那么您就可以开始比赛了。 And how you setup that database server to allow some software written in say c# or FoxPro or MS Access will not really change much of anything to my knowledge. 以及如何设置该数据库服务器以允许某些用c#或FoxPro或MS Access编写的软件不会真正改变我所知道的任何东西。

So Access is just like any other software tool such as c++ or vb.net – it is a tool that lets you write code and you connect that application and user interface to some database system you choose. 因此,Access就像其他任何软件工具(例如c ++或vb.net)一样-它是使您可以编写代码并将该应用程序和用户界面连接到所选数据库系统的工具。

The connection technology that Access uses here is based on industry standards and thus your setup and maintains of the server side will quite much be the same for any other application(s) that you have running on premises that utilize SQL server now. Access在此处使用的连接技术基于行业标准,因此对于服务器端的设置和维护,对于您现在在使用SQL Server的场所中运行的任何其他应用程序,都将大同小异。

About the only relevant issue here is that in Access you have a choice of two data object models, ADO and DAO. 关于这里唯一相关的问题是,在Access中可以选择两种数据对象模型,即ADO和DAO。 Right now, since Microsoft is depreciating ADO and they are continuing investment in DAO and also recommending to use open database connectivity. 现在,由于Microsoft将折旧ADO,并且他们将继续对DAO进行投资,并且还建议使用开放数据库连接。 For example, Access 2010 ships with support baked in for SQL Azure (cloud sql), and that support is based on open database connectivity. 例如,Access 2010附带了对SQL Azure(cloud sql)的支持,并且该支持基于开放数据库连接。

So at this point time as it did back in 2003 the recommend data object model in Access is to use DAO. 因此,在这一点上,就像2003年一样,Access中推荐的数据对象模型是使用DAO。

You can read about the depreciation of ADO support in SQL server here: 您可以在此处阅读有关SQL Server中ADO支持的折旧的信息:

http://blogs.msdn.com/b/sqlnativeclient/archive/2011/08/29/microsoft-is-aligning-with-odbc-for-native-relational-data-access.aspx http://blogs.msdn.com/b/sqlnativeclient/archive/2011/08/29/microsoft-is-align-with-odbc-for-native-relational-data-access.aspx

While a for good number of general exports and imports and that of linking to SQL server can occur 100% inside of Access, those users will STILL need a set of client tools beyond Access to effectively work with SQL server if over time they going to start using SQL server features. 虽然大量的常规进出口和链接到SQL Server的访问可以在Access中100%发生,但是如果这些用户逐渐开始使用,则这些用户仍需要Access以外的一组客户端工具来有效地使用SQL Server。使用SQL Server功能。 This thus suggests they will need some edition of SSMS (Sql server management studio). 因此,这表明他们将需要某些版本的SSMS(SQL服务器管理工​​作室)。 The free express version of SSMS should more than suffice in this case. 在这种情况下,SSMS的免费快速版本应绰绰有余。

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

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