You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0d2ebdf
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/ssms/quickstarts/connect-query-sql-server.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ If you don't have access to a SQL Server instance, select your platform from the
43
43
44
44
1. Start SQL Server Management Studio. The first time you run SSMS, the **Connect to Server** window opens. If it doesn't open, you can open it manually by selecting **Object Explorer** > **Connect** > **Database Engine**.
45
45
46
-

46
+

47
47
48
48
2. In the **Connect to Server** window, follow the list below:
49
49
@@ -76,9 +76,9 @@ Create a database named TutorialDB by following the below steps:
76
76
77
77
1. Right-click your server instance in Object Explorer, and then select **New Query**:
78
78
79
-

79
+

80
80
81
-
2. Into the query window, paste the following T-SQL code snippet:
81
+
2. Into the query window, paste the following T-SQL code snippet:
82
82
83
83
```sql
84
84
USE master
@@ -102,9 +102,9 @@ Create a database named TutorialDB by following the below steps:
102
102
103
103
In this section, you create a table in the newly created TutorialDB database. Because the query editor is still in the context of the *master* database, switch the connection context to the *TutorialDB* database by doing the following steps:
104
104
105
-
1. In the database drop-down list, select the database that you want, as shown here:
105
+
1. In the database drop-down list, select the database that you want, as shown here:
2. Paste the following T-SQL code snippet into the query window, select it, and then select **Execute** (or select F5 on your keyboard).
110
110
You can either replace the existing text in the query window or append it to the end. To execute everything in the query window, select **Execute**. If you've appended the text, you want to execute just the portion of the text, so highlight that portion, and then select **Execute**.
@@ -158,13 +158,13 @@ The results of a query are visible below the query text window. To query the Cus
158
158
159
159
The results of the query are displayed under the area where the text was entered:
0 commit comments