Nguyễn Ngọc Tâm Quyên
Member
How do I get SQL command-line?
Answer
Start the sqlcmd utility and connect to a default instance of SQL Server
Answer
Start the sqlcmd utility and connect to a default instance of SQL Server
- On the Start menu click Run. In the Open box type cmd, and then click OK to open a Command Prompt window. …
- At the command prompt, type sqlcmd.
- Press ENTER. …
- To end the sqlcmd session, type EXIT at the sqlcmd prompt.