SQL Server 2008 与 SQL Server 的 Visual Studio 2010 Express 版本
我想知道使用 Sql Server 2008 相对于 Visual Studio 2010 Express 默认安装的版本(我认为是 Microsoft SQL Server Compact 3.5 SP2)有什么好处。
据我所知,可以通过 Visual Studio 使用 MDF 数据库文件创建应用程序,并且应用程序运行得很好;并且似乎没有一个 GUI 来管理数据库(除非集成在 VB.NET 等中的数据库)。
在什么情况下我需要使用 SQL Server 的非紧凑版本?
I'd like to know what are the benefits of using Sql Server 2008 over the version that is installed default with visual studio 2010 express (I think its Microsoft SQL Server Compact 3.5 SP2).
As far as I know, it is possible to create applications using MDF database files with visual studio, and the applications work just fine; and there doesn't seem to be a GUI to manage the databases (unless the ones that are integrated in VB.NET etc.)
In what cases would I need to use a non compact version of SQL Server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Visual Studio 安装 SQL Server Express,这是一个成熟的 SQL 服务器引擎。 SQL Server Compact 是一个嵌入式数据库库。它非常接近 SQL Server 标准版,并且几乎适合您需要的任何内容。
Visual Studio installs SQL Server Express, which is a full blown SQL server engine. SQL Server Compact is an embedded database library. It's pretty close to SQL Server Standard Edition and is suitable for almost anything you would need.
Compact 缺少普通 SQL Server 的一些功能:
另一方面,紧凑型支持非管理员安装选项,并且它托管在您的应用程序进程中。
Compact lacks some of the features of the normal SQL Server:
On the other hand compact supports non-admin installation option and it is hosted in your application process.
SQL Server 紧凑版是一个进程内/嵌入式数据库;它将直接在您的流程中执行,并允许您以零部署的方式处理数据源。
SQL Server(包括 Express 和紧凑版在内的所有版本)需要安装在特定服务器上,因此您至少需要硬件和设置它的人员,然后您可以让所有您想要连接到它来读取/写入数据的应用程序。
我们还可以总结一下,SQL Compact 是一个 DBMS,但不是一个 RDBMS。
SQL Server compact edition is an inprocess/embedded database; it will be executed directly inside your process and will allow you to deal with the datasource with zero deployment pain.
SQL Server ( all versions including Express and excluding compact ) needs to be installed on a specific server so you need at least the hardware and somebody who sets it up, then you can have all applications you want connecting to it to read/write data.
we can also summarize that SQL Compact is a DBMS but not a RDBMS.
SQL Server Compact 的限制:http://technet。 microsoft.com/en-us/library/cc835494%28SQL.100%29.aspx
Limitations of the SQL Server Compact: http://technet.microsoft.com/en-us/library/cc835494%28SQL.100%29.aspx