Close a symmetric key, or close all the symmetric keys open in the current session.
Syntax: CLOSE {SYMMETRIC KEY key | ALL SYMMETRIC KEYS}
Open symmetric keys are bound to the session not to the security context.
Examples
CLOSE SYMMETRIC KEY SymKeySS64;
GO
"Success is not the key to happiness. Happiness is the key to success. If you love what you are doing, you will be successful" ~ Herman Cain
Related Commands:
CREATE SYMMETRIC KEY
OPEN SYMMETRIC KEY
ALTER SYMMETRIC KEY
DROP SYMMETRIC KEY
sys.symmetric_keys