|
Description:
|
|
Recently I was editing a document about SQL Server on Linux and the author noted that if you type "sqlcmd" without any parameters, you get the list of possible parameters back. I tried that on my Windows laptop and immediately got an error that no credentials were supplied. Apparently sqlcmd on Windows attempts to connect to the default instance. I thought the author had made an error, but sure enough, when I connected to Linux and ran just "sqlcmd", I got a list of parameters. What was more fascinating to me was that if I ran "sqlcmd -?" on either platform, I got the parameter list, as I would expect. However, if I ran "sqlcmd /?", this worked on Windows, but returned an error on Linux. Read the rest of Parameter Fun |