Created
May 30, 2018 17:57
-
-
Save mikerodionov/523cd00bbb2ae0dbcb5db8e20f07dc16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Be sure to select master DB and click "New Query" before runnig this | |
SELECT [name], is_master_key_encrypted_by_server, is_encrypted | |
FROM master.sys.databases | |
GO | |
--View the symmetric keys | |
SELECT | |
[name] | |
, [principal_id] | |
, [algorithm_desc] | |
, [create_date] | |
FROM MASTER.sys.symmetric_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment