How do I test SQL connectivity?
Answer
How to test SQL server connection?
Answer
How to test SQL server connection?
- Go to the command prompt window (Run→cmd)
- Enter sqlcmd and press enter.
- You now have a trusted connection to the default instance of SQL Server that is running on your computer. 1→ is the sqlcmd prompt that specifies the line number. …
- To end the sqlcmd session, type EXIT at the sqlcmd prompt.