Skip to content

Commit 10fc37d

Browse files
authored
1 parent 41984b9 commit 10fc37d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎docs/ssms/tutorials/connect-query-sql-server.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,10 @@ In this section, you create a table in the newly created TutorialDB database. Be
106106
![Change database](media/connect-query-sql-server/changedb.png)
107107

108108
2. Paste the following T-SQL code snippet into the query window, select it, and then select **Execute** (or select F5 on your keyboard).
109-
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**. To execute a portion of the text, highlight that portion, and then select **Execute**.
109+
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 will want to execute just the portion of the text, so highlight that portion, and then select **Execute**.
110110

111111
```sql
112+
USE [TutorialDB]
112113
-- Create a new table called 'Customers' in schema 'dbo'
113114
-- Drop the table if it already exists
114115
IF OBJECT_ID('dbo.Customers', 'U') IS NOT NULL
@@ -198,4 +199,4 @@ The best way to get acquainted with SSMS is through hands-on practice. These art
198199
* [Scripting](scripting-ssms.md)
199200
* [Using Templates in SSMS](../template/templates-ssms.md)
200201
* [SSMS Configuration](ssms-configuration.md)
201-
* [Additional Tips and Tricks for using SSMS](ssms-tricks.md)
202+
* [Additional Tips and Tricks for using SSMS](ssms-tricks.md)

0 commit comments

Comments
 (0)