DROP SYMMETRIC KEY (Transact-SQL)
SQL Server 2005 Books Online (November 2008)
DROP SYMMETRIC KEY (Transact-SQL)

Removes a symmetric key from the current database.

Topic link icon Transact-SQL Syntax Conventions

DROP SYMMETRIC KEY symmetric_key_name
symmetric_key_name

Is the name of the symmetric key to be dropped.

If the key is open in the current session the statement will fail.

Requires CONTROL permission on the symmetric key.

The following example removes a symmetric key named GailSammamishKey6 from the current database.

CLOSE SYMMETRIC KEY GailSammamishKey6;
DROP SYMMETRIC KEY GailSammamishKey6;
GO
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker