Skip to content

Commit 9c765ff

Browse files
authored
Merge pull request #21544 from WilliamDAssafMSFT/20220324-CLE-SQL-DW-GA
20220324 1828 CLE GA for SQL DW
2 parents 082304f + fc8ce29 commit 9c765ff

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

docs/relational-databases/security/encryption/encrypt-a-column-of-data.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "Encrypt a Column of Data | Microsoft Docs"
2+
title: "Encrypt a Column of Data"
33
description: Learn how to encrypt a column of data by using symmetric encryption in SQL Server using Transact-SQL, sometimes known as column-level or cell-level encryption.
44
ms.custom: ""
55
titleSuffix: SQL Server & Azure Synapse Analytics & Azure SQL Database & SQL Managed Instance
6-
ms.date: "12/15/2020"
6+
ms.date: 03/24/2022
77
ms.prod: sql
88
ms.prod_service: "database-engine, sql-database"
99
ms.reviewer: vanto
@@ -14,7 +14,6 @@ helpviewer_keywords:
1414
- "cryptography [SQL Server], columns"
1515
- "column level encryption"
1616
- "cell level encryption"
17-
ms.assetid: 38e9bf58-10c6-46ed-83cb-e2d76cda0adc
1817
author: jaszymas
1918
ms.author: jaszymas
2019
monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current||=azure-sqldw-latest"
@@ -24,9 +23,9 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
2423

2524
[!INCLUDE [SQL Server Azure SQL Database](../../../includes/applies-to-version/sql-asdb-asdbmi-asa.md)]
2625

27-
This article describes how to encrypt a column of data by using symmetric encryption in [!INCLUDE[ssnoversion](../../../includes/ssnoversion-md.md)] using [!INCLUDE[tsql](../../../includes/tsql-md.md)]. This is sometimes known as column-level encryption, or cell-level encryption. This feature is in preview for Azure Synapse Analytics
26+
This article describes how to encrypt a column of data by using symmetric encryption in [!INCLUDE[ssnoversion](../../../includes/ssnoversion-md.md)] using [!INCLUDE[tsql](../../../includes/tsql-md.md)]. This is sometimes known as column-level encryption, or cell-level encryption.
2827

29-
The examples in this article have been validated against AdventureWorks2017. To get sample databases, see [AdventureWorks sample databases](../../../samples/adventureworks-install-configure.md).
28+
The examples in this article have been validated against `AdventureWorks2017`. To get sample databases, see [AdventureWorks sample databases](../../../samples/adventureworks-install-configure.md).
3029

3130
## Security
3231

@@ -43,7 +42,7 @@ The following permissions are necessary to perform the steps below:
4342

4443
To use the following examples, you must have a database master key. If your database does not already have a database master key, create one. To create one, connect to your database and run the following script. Be sure to use a complex password.
4544

46-
Copy and paste the following example into the query window that is connected to the AdventureWorks sample database. Click **Execute**.
45+
Copy and paste the following example into the query window that is connected to the `AdventureWorks` sample database. Select **Execute**.
4746

4847
```sql
4948
CREATE MASTER KEY ENCRYPTION BY
@@ -56,9 +55,9 @@ Always back up your database master key. For more information on database master
5655

5756
1. In **Object Explorer**, connect to an instance of [!INCLUDE[ssDE](../../../includes/ssde-md.md)].
5857

59-
2. On the Standard bar, click **New Query**.
58+
2. On the Standard bar, select **New Query**.
6059

61-
3. Copy and paste the following example into the query window that is connected to the AdventureWorks sample database. Click **Execute**.
60+
3. Copy and paste the following example into the query window that is connected to the `AdventureWorks` sample database. Select **Execute**.
6261

6362
```sql
6463
CREATE CERTIFICATE Sales09
@@ -111,9 +110,9 @@ Always back up your database master key. For more information on database master
111110

112111
1. In **Object Explorer**, connect to an instance of [!INCLUDE[ssDE](../../../includes/ssde-md.md)].
113112

114-
2. On the Standard bar, click **New Query**.
113+
2. On the Standard bar, select **New Query**.
115114

116-
3. Copy and paste the following example into the query window that is connected to the AdventureWorks sample database. Click **Execute**.
115+
3. Copy and paste the following example into the query window that is connected to the `AdventureWorks` sample database. Select **Execute**.
117116

118117
```sql
119118
CREATE CERTIFICATE HumanResources037
@@ -160,12 +159,9 @@ Always back up your database master key. For more information on database master
160159
GO
161160
```
162161

163-
For more information, see the following:
162+
## Next steps
164163

165164
- [CREATE CERTIFICATE (Transact-SQL)](../../../t-sql/statements/create-certificate-transact-sql.md)
166-
167165
- [CREATE SYMMETRIC KEY (Transact-SQL)](../../../t-sql/statements/create-symmetric-key-transact-sql.md)
168-
169166
- [ALTER TABLE (Transact-SQL)](../../../t-sql/statements/alter-table-transact-sql.md)
170-
171167
- [OPEN SYMMETRIC KEY (Transact-SQL)](../../../t-sql/statements/open-symmetric-key-transact-sql.md)

0 commit comments

Comments
 (0)