Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bcbf802

Browse files
Create always-encrypted.sql
1 parent 7f9186e commit bcbf802

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SELECT t.name AS TableName,
2+
c.name AS ColumnName,
3+
k.name AS KeyName,
4+
c.encryption_type_desc,
5+
c.encryption_algorithm_name
6+
FROM sys.columns AS c
7+
INNER JOIN
8+
sys.column_encryption_keys AS k
9+
ON c.column_encryption_key_id = k.column_encryption_key_id
10+
INNER JOIN
11+
sys.tables AS t
12+
ON c.object_id = t.object_id
13+
WHERE encryption_type IS NOT NULL;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /