ap_spp_delete_oldcert_sp

This is a private procedure that deletes a certificate in the current database, and if the caller has CONTROL SERVER, also in the master database. When working in master, the procedure also uses the certificate subject to find old certificates.

 

You are not supposed to call this procedure directly.

 

Parameters:

@certname sysname -- The name of the certificate.

@printexec char(2) -- See the description of ap_print_exec_cmd_sp.

@alreadydeleted char(2) = NULL.

 

If @alreadydeleted includes the letter D, code for deleting the certificate has already been generated, and the procedure should not generate code to delete it again. Likewise the parameter can include an S to indidate that the server level has already been dealt with.