首页 > 数据库技术 > 详细

How to connect to LocalDB in Visual Studio Server Explorer?

时间:2015-01-29 12:13:53      阅读:312      评论:0      收藏:0      [点我收藏+]

 

Stack Overflow: How to connect to LocalDB in Visual Studio Server Explorer?

    Steps to connect LocalDB to Visual Studio Server Explorer
  1. Open command prompt
  2. Run SqlLocalDB.exe start v11.0
  3. Run SqlLocalDB.exe info v11.0
  4. Copy the Instance pipe name that starts with np:\...
  5. In Visual Studio select TOOLS > Connect to Database...
  6. For Server Name enter (localdb)\v11.0. If it didn‘t work, use the Instance pipe name that you copied earlier. You can also use this to connect with SQL Management Studio.
  7. Select the database on next dropdown list
  8. Click OK

 

技术分享

How to connect to LocalDB in Visual Studio Server Explorer?

原文:http://www.cnblogs.com/Currention/p/4259263.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!