Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I have Sql Express installed with Visual Studio when I already have Microsoft Sql Server Developer?

What benefit do I derive from installing Sql Express with Visual Studio (2010) when I already have Microsoft Sql Server Developer (2008)?

The only benefit I can imagine is that I can develop for either platform without having to be concerned with which one(s) I have installed. Is there an actual negative detriment to removing Sql Server Express (specifically the SqlExpress instance) from my development machine?

like image 381
jcolebrand Avatar asked Jun 28 '12 17:06

jcolebrand


People also ask

What is the difference between SQL Server Developer and Express Edition?

SQL Server Developer is an ideal choice for people who build and test applications. Express edition is the entry-level, free database and is ideal for learning and building desktop and small server data-driven applications.

Is SQL Express the same as SQL Server?

Microsoft SQL Server Express is a version of Microsoft's SQL Server relational database management system that is free to download, distribute and use. It comprises a database specifically targeted for embedded and smaller-scale applications.

What is the difference between SQL Server Management Studio and Visual Studio?

The key here is Visual Studio is oriented towards development. SSMS is oriented towards database and server management.


1 Answers

The only advantages I can think of to having Express as well are:

  • if you want to develop applications that specifically target Express, using Express can help prevent you from using features that work in Developer but won't work on your targets (e.g. compression, partitioning).
  • if you already have applications that use the Express instance, they will obviously stop working until you move those databases to the other instance and update the apps to point at the other instance.

If neither of those situations are relevant, I can't think of a single downside to removing the Express instance. To be safe you may want to start by stopping and disabling the Express service for a week, just to be sure nothing you have is relying on it.

Note that uninstalling Express from Programs and Features will remove the engine but it will leave any of your user databases intact. So there is no fear of data loss, provided you stop the SQL Server service gracefully before you uninstall it.

To remove SQL Server Express, you would right-click whichever of these items appears in Add/Remove Programs / Programs and Features:

Microsoft SQL Server 2008
Microsoft SQL Server 2008 (64-bit)

(There should only be one of those unless you've got a really messed up set of instances on an x64 machine.)

  • When you right-click, select "Uninstall/Change"
  • You'll get a dialog box adding if you want to add, repair or remove; select remove
  • Next you'll see a "Setup Support Rules" dialog - if OK is available, click it, otherwise you will probably need to restart your computer before proceeding
  • Then you'll be on the "Select Instance" screen. There is a dropdown called "Instance to remove features from:" - select SQLEXPRESS and click Next
  • Then you'll have a screen called "Select Features" - here you'll want to select "Database Engine Services" only (I don't think you want to remove any of the shared features). Click Next
  • Should be smooth sailing the rest of the way, but as mentioned you will have to clean up the folder, which is probably:
C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\

Should be safe to delete everything there unless you want to save any of the user databases. You might also search for .mdf files you want to expunge or save that may have been copied to various parts of your system due to use within an application or during development.

like image 182
Aaron Bertrand Avatar answered Oct 05 '22 07:10

Aaron Bertrand