简体   繁体   English

Visual Studio 2010和Sql Server

[英]Visual studio 2010 and Sql Server

Do visual studio 2010 include already Sql Server instance, or I need to install Sql Server developer edition to develop an application that need a Sql Server db. Visual Studio 2010包含已经是Sql Server实例,或者我需要安装Sql Server开发版来开发一个需要Sql Server db的应用程序。

If it installs a Sql Server express edition, it this enough or it's better to have Sql Server developer edition? 如果它安装了一个Sql Server Express版本,那么这个还是Sql Server开发者版本更好吗?

I would second that installing the "full" SQL Server Development Edition makes sense if you do serious database development. 我认为如果你进行严肃的数据库开发,安装“完整”的SQL Server开发版是有意义的。

However you can have both installed side by side, and having SQL Server Express is very useful for one reason - it supports placing database files in the App_Data folder of ASP.NET applications. 但是,您可以将两者并排安装,并且SQL Server Express非常有用,原因只有一个 - 它支持将数据库文件放在ASP.NET应用程序的App_Data文件夹中。 While I don't do this for my own projects, it's a very nice feature for demos or open source applications you download from the web: just unzip, start VS, hit F5, and you have a running solution including database. 虽然我没有为自己的项目执行此操作,但对于从Web下载的演示或开源应用程序来说,这是一个非常好的功能:只需解压缩,启动VS,按F5,您就拥有了包含数据库的运行解决方案。 Without SQL Express, you first have to move the MDF file, attach the database, set up user rights, replace the connection strings etc... 如果没有SQL Express,首先必须移动MDF文件,附加数据库,设置用户权限,替换连接字符串等...

The Visual Studio 2010 installer gives you the option of installing SQL Server 2008 Express Edition. Visual Studio 2010安装程序为您提供了安装SQL Server 2008 Express Edition的选项。 This edition of SQL Server is good enough for development purposes but is not intended for production use. 此版本的SQL Server足以用于开发目的,但不适合生产使用。

I think the size limitation is not the main issue. 我认为尺寸限制不是主要问题。 In Sql Server 2008 you have some features in Sql Server Management Studio that aren't available in the Express management Studio or the Express database engine, like: - suggesting the table and column names (in Query Window) - Sql profiler Cor Westra 在Sql Server 2008中,您在Express Management Studio或Express数据库引擎中没有Sql Server Management Studio中的一些功能,例如: - 建议表和列名称(在查询窗口中) - Sql profiler Cor Westra

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

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