CLOSE SYMMETRIC KEY

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


 
Copyright © 1999-2024 SS64.com
Some rights reserved