问题描述
我在两台计算机上安装了SQL Server 2014 Management Studio,这两台计算机都在Windows 10上运行.SQLCMD命令的开关在一台计算机上区分大小写,但在另一台计算机上不是。如果我用小写开关键入命令(如下面的例子中的
),它可以在一个上工作但在另一个上不起作用。
$
sqlcmd -s。\< servername> ;
$
sqlcmd -l
对于第二台计算机,我必须输入大写字母,如下所示。
sqlcmd -S。 \\< servername>
sqlcmd -L
决定这个的问题/设置是什么?
I have SQL Server 2014 Management Studio installed on two computers, both of which run on Windows 10. The switches for SQLCMD command are case-sensitive on one computer, but it is not on the other one. If I type the command with lower case switches (like the below examples), it works on one but doesn't work on the other.
sqlcmd -s .\<servername>
sqlcmd -l
For the second computer, I have to type with upper case as shown below.
sqlcmd -S .\<servername>
sqlcmd -L
What is the issue/setting that decides this?
这篇关于SQLCMD命令的开关是否区分大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!