【发布时间】:2015-12-05 09:00:59
【问题描述】:
我需要从连接到 (localdb)\myinstance 的命令行启动 ssms (SQL Management Studio)。实例存在
sqllocaldb info myinstance
但是在 (localdb)\myinstance 中使用命令行和 -S 参数会引发错误。
PS C:\workingArea> ssms -S(localdb)\myinstance
localdb : The term 'localdb' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:9
+ ssms -S(localdb)\myinstance
我可以使用命名管道进行连接,但最好使用已知名称。
【问题讨论】:
-
您必须共享实例吗?我发现的唯一另一件事是关于
(localdb)\.
标签: ssms