USP_CLOSE_KEY_ACCESS
Closes the sysmetric encryption key opened using the USP_GET_KEY_ACCESS.
Definition
Copy
CREATE procedure [dbo].[USP_CLOSE_KEY_ACCESS]
with execute as owner
as
set nocount on;
CLOSE symmetric key sym_BBInfinity;
return 0;