I'm using SQL Server 2014 Express and the LocalDB option, and I have the following in my SQL Server object explorer pane in Visual Studio 2013...
So what is the difference between (localdb)\ProjectsV12
& (localdb)\MSSQLLocalDB
?
An instance of SQL Server Express LocalDB is an instance created by a user for their use. Any user on the computer can create a database using an instance of LocalDB, store files under their user profile, and run the process under their credentials. By default, access to the instance of LocalDB is limited to its owner.
You can connect with MSSMS to LocalDB. Type only in SERVER NAME: (localdb)\v11. 0 and leave it by Windows Authentication and it connects to your LocalDB server and shows you the databases in it.
The (localdb)\ProjectsV12 and (localdb)\ProjectsV13 instances are created by SQL Server Data Tools (SSDT) and should not be used by applications
(localdb)\MSSQLLocalDB is the SQL Server Express 2014/2016 LocalDB default instance name and an "automatic instance".
You can use the sqllocaldb.exe command line tool to manage which version (2014 or 2016) owns the MSSqlLocaldb instance
And (localdb)\v11.0 is the SQL Server 2012 LocalDB default instance name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With