问题描述
我有一些关于本地和基于服务的数据库的问题:使用基于服务的数据库是否需要用户安装 SQL Server?如果是这样,有什么办法可以解决吗?本地数据库是否要求用户安装 SQL Server?本地数据库和基于服务的数据库有什么区别.(我说的是 Visual Studio 中的项目)
I have a some questions about local and service-based databases: Does using a service-based database require the user to have SQL Server installed? If so, is there ANY way around it? Does a local database require the user to have SQL Server installed? What is the difference between a local database and a service-based database. (I am talking about the items in Visual Studio)
推荐答案
客户端无需安装 SQL 即可以编程方式连接到位于别处的数据库.任何包含连接到数据库的代码的机制通常都会创建连接.例如,.NET 的 System.Data 命名空间负责 .NET 程序的这一工作.不需要安装 SQL.当然,管理工具不会出现在客户端上.
Clients do not need SQL installed to programatically connect to a database located elsewhere. Whatever mechanism contains the code to connect to databases in general will create the connection. For example, the System.Data namespace of .NET takes care of this for .NET programs. SQL installation is not necessary. Management tools, of course, will not be present on the client.
这篇关于关于本地数据库与基于服务的数据库的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!