Sql-server – SQL Server: localhost vs MSSQLLocalDB

sql serversql-server-localdb

I have two different local versions of SQL Server on my machine:

  1. (localdb)\MSSQLLocalDB
  2. localhost

Local SQL Servers

I think one of them might have been installed alongside Visual Studio, but I am not sure. Is there a difference between these two (other than the version number)?

And if I only want to keep one of them, which one should it be? I am only using it for local stuff, while developing…

Best Answer

LocalDB is installed by Visual Studio and is intended to be minimal configuration for development work. Check out here.

If you want to keep just one, I'd go for SQL Express as you can easily connect to there for your development work.