Tag Archives: SQLCMD command

SQLCMD Command Overview

As mentioned earlier, in addition to command line options, SQLCMD also supports many powerful commands. A SQLCMD command always starts with a new line and is preceded by a colon. A colon is required to make a clear distinction between … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Get a list of all of the servers on the network using SQLCMD vs CMD commands

SQLCMD Console 1. Start RUN command 2. Type in SQLCMD — it will start prompt in SQLCMD mode 3. Paste the following: :serverlist CMD Console 1. Start RUN command 2. Type in CMD — it will start prompt in CMD … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment