Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 26bc763

Browse files
committed
updates for freshness
1 parent 9484b17 commit 26bc763

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/relational-databases/indexes/create-nonclustered-indexes.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Create Nonclustered Indexes"
33
title: "Create Nonclustered Indexes | Microsoft Docs"
44
ms.custom: ""
5-
ms.date: "02/17/2017"
5+
ms.date: 11/12/2021
66
ms.prod: sql
77
ms.prod_service: "table-view-index, sql-database"
88
ms.reviewer: ""
@@ -56,7 +56,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
5656

5757
3. Right-click the table on which you want to create a nonclustered index and select **Design**.
5858

59-
4. On the **Table Designer** menu, click **Indexes/Keys**.
59+
4. Right-click on the column you want to create the nonclustered index on and select **Indexes/Keys**.
6060

6161
5. In the **Indexes/Keys** dialog box, click **Add**.
6262

@@ -92,14 +92,14 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
9292

9393
#### To create a nonclustered index on a table
9494

95-
1. In **Object Explorer**, connect to an instance of [!INCLUDE[ssDE](../../includes/ssde-md.md)].
95+
1. In **Object Explorer**, connect to an instance of [!INCLUDE[ssDE](../../includes/ssde-md.md)] with [AdventurWorks2019](https://github.com/Microsoft/sql-server-samples/releases/download/adventureworks/AdventureWorks2019.bak) installed.
9696

9797
2. On the Standard bar, click **New Query**.
9898

9999
3. Copy and paste the following example into the query window and click **Execute**.
100100

101101
```sql
102-
USE AdventureWorks2012;
102+
USE AdventureWorks2019;
103103
GO
104104
-- Find an existing index named IX_ProductVendor_VendorID and delete it if found.
105105
IF EXISTS (SELECT name FROM sys.indexes
@@ -113,6 +113,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
113113
GO
114114
```
115115

116-
## Related content
116+
## Next steps
117+
117118
[CREATE INDEX (Transact-SQL)](../../t-sql/statements/create-index-transact-sql.md)
118119
[SQL Server Index Design Guide](../../relational-databases/sql-server-index-design-guide.md)

docs/samples/adventureworks-install-configure.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Follow these instructions to download and install AdventureWorks sa
44
ms.prod: sql
55
ms.prod_service: sql
66
ms.technology: samples
7-
ms.date: "06/16/2020"
7+
ms.date: 11/12/2021
88
ms.reviewer: ""
99
ms.topic: conceptual
1010
author: MashaMSFT
@@ -66,14 +66,14 @@ To restore your database in SQL Server Management Studio, follow these steps:
6666

6767
`C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Backup`.
6868

69-
3. Open SQL Server Management Studio (SSMS) and connect to your SQL Server in.
69+
3. Open SQL Server Management Studio (SSMS) and connect to your SQL Server.
7070
4. Right-click **Databases** in **Object Explorer** > **Restore Database...** to launch the **Restore Database** wizard.
7171

7272
:::image type="content" source="media/adventureworks-install-configure/restore-db-ssms.png" alt-text="Screenshot showing how to choose to restore your database by right-clicking databases in Object Explorer and then selecting Restore Database.":::
7373

7474

7575
1. Select **Device** and then select the ellipses **(...)** to choose a device.
76-
1. Select **Add** and then choose the `.bak` file you recently moved to this location. If you moved your file to this location but you're not able to see it in the wizard, this typically indicates a permissions issue - SQL Server or the user signed into SQL Server does not have permission to this file in this folder.
76+
1. Select **Add** and then choose the `.bak` file you recently moved to the backup location. If you moved your file to this location but you're not able to see it in the wizard, this typically indicates a permissions issue - SQL Server or the user signed into SQL Server does not have permission to this file in this folder.
7777
1. Select **OK** to confirm your database backup selection and close the **Select backup devices** window.
7878
1. Check the **Files** tab to confirm the **Restore as** location and file names match your intended location and file names in the **Restore Database** wizard.
7979
1. Select **OK** to restore your database.
@@ -113,7 +113,7 @@ GO
113113

114114
# [Azure Data Studio](#tab/data-studio)
115115

116-
If you're not familiar using [Azure Data Studio Studio](../azure-data-studio/download-azure-data-studio.md), you can see [connect & query](../azure-data-studio/quickstart-sql-server.md) to get started
116+
If you're not familiar using [Azure Data Studio Studio](../azure-data-studio/download-azure-data-studio.md), see [connect & query](../azure-data-studio/quickstart-sql-server.md) to get started
117117

118118
To restore your database in Azure Data Studio, follow these steps:
119119

@@ -155,9 +155,9 @@ To get sample data for Azure SQL Managed Instance instead, see [restore World Wi
155155

156156
### Deploy new sample database
157157

158-
When you create a new database in Azure SQL Database, you have the option to create a blank database, or a sample database.
158+
When you create a new database in Azure SQL Database, you have the option to create a blank database, restore from a backup or select sample data to populate your new database.
159159

160-
Follow these steps to use a sample database to create a new database:
160+
Follow these steps to add a sample data to your new database:
161161

162162
1. Connect to your Azure portal.
163163
1. Select **Create a resource** in the top left of the navigation pane.
@@ -167,8 +167,7 @@ Follow these steps to use a sample database to create a new database:
167167

168168
:::image type="content" source="media/adventureworks-install-configure/deploy-sample-to-azure.png" alt-text="Choose sample as the data source on the Additional settings tab in the Azure portal when creating your Azure SQL Database":::
169169

170-
1. Select **Create** to create your new SQL Database, which is the restored copy of the AdventureWorksLT database.
171-
170+
1. Select **Create** to create your new SQL Database, which is the restored copy of the AdventureWorksLT database.
172171

173172
### Deploy database from SQL Server
174173

0 commit comments

Comments
 (0)