How to add LocalDB to Visual Studio 2015 Community's SQL Server Object Explorer?

前端 未结 7 1117
时光说笑
时光说笑 2020-12-23 16:34

Problem

I don\'t understand how to make LocalDB show up in the SQL Server Object Explorer. On some VMs, it shows up automatically, on some other VMs, it doesn\'t. S

7条回答
  •  無奈伤痛
    2020-12-23 16:42

    If you are not sure if local db is installed, or not sure which database name you should use to connect to it - try running 'sqllocaldb info' command - it will show you existing localdb databases.

    Now, as far as I know, local db should be installed together with Visual Studio 2015. But probably it is not required feature, and if something goes wrong or it cannot be installed for some reason - Visual Studio installation continues still (note that is just my guess). So to be on the safe side don't rely on it will always be installed together with VS.

提交回复
热议问题