Search

Home > voiceofthedba's podcast > Parameter Fun
Podcast: voiceofthedba's podcast
Episode:

Parameter Fun

Category: Technology
Duration: 00:03:21
Publish Date: 2019-03-03 16:00:00
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

Total Play: 0