Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
This topic describes how to test connectivity to an instance of SQL Server, use the sqlcmd utility.
From a command prompt, enter the following command to connect by using Windows Authentication:
sqlcmd [ /E ] [ /S servername ]
From a command prompt, enter the following command to connect by using Windows Authentication:
sqlcmd [ /E ] /S servername\instancename
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Module
Connect an Azure SQL server using an Azure Private Endpoint using the Azure portal - Training
Learn how to securely connect an Azure SQL server using an Azure Private Endpoint via the Azure portal, ensuring private and safe communication with your SQL server.
Documentation
Logging In to SQL Server - SQL Server
Find out about different ways of signing in to an instance of SQL Server. Learn which format to use for the server name in various environments.
Start, stop, pause, resume, and restart SQL Server services - SQL Server
Find out how to start, stop, pause, resume, or restart various SQL Server services. See how to use Transact-SQL, PowerShell, and other tools for these actions.
Server configuration: remote access - SQL Server
Learn about alternatives to the deprecated remote access option. View other sources for troubleshooting issues with SQL Server connections.