Open SQL Server 2012 From Command Prompt

情到浓时终转凉″ 提交于 2019-12-08 07:56:37

问题


I have installed SQL Server 2012, SQL Server 2008 R2 and SQL Server 2014.

Now when I run SSMS it always opens SQL Server 2008.

What to do same for SQL Server 2012?

Any shortcut key or command to run from command prompt like SSMS?

Please guide me.


回答1:


I found the solution. It is so simple.

Just create desktop short cut and copy that file to C:\Windows\

For example:

Create short cut named as on desktop SQL Server Management Studio Now simply copy it to your C:\Windows path and rename it to SSMS12 and now from command prompt simply type SSMS12 -

It will open SQL Server 2012.



来源:https://stackoverflow.com/questions/35356410/open-sql-server-2012-from-command-prompt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!