Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
To work with servers and databases, you must first connect to the server. You can connect to multiple servers at the same time.
SQL Server Management Studio (SSMS) supports several types of connections. This article provides details for connecting to SQL Server and Azure SQL Database (connecting to an Azure SQL single database or elastic pool). For information on the other connection options, see the Related content at the end of this page.
Connecting to a Server
On Object Explorer, click Connect > Database Engine....
Fill out the Connect to Server form and click Connect:
If you're connecting to an Azure SQL Server, you might get prompted to sign in to create a firewall rule. Click Sign In... (if not, skip to step 6 below)
After successfully signing in, the form is pre-populated with your specific IP address. If your IP address changes often, it might be easier to grant access to a range, so select the option that's best for your environment.
To create the firewall rule and connect to the server, click OK.
The server appears in Object Explorer after successfully connecting: