Skip to content

Instantly share code, notes, and snippets.

@FilipDeVos
Created May 13, 2011 07:40
Show Gist options
  • Select an option

  • Save FilipDeVos/970157 to your computer and use it in GitHub Desktop.

Select an option

Save FilipDeVos/970157 to your computer and use it in GitHub Desktop.
Sign identity_insert procedure
CREATE MASTER KEY ENCRYPTION BY password = '**somethingspecial**';
CREATE CERTIFICATE SchemaCert WITH SUBJECT = 'Schema user Certificate'
CREATE USER SchemaCertUser FROM CERTIFICATE SchemaCert
GRANT ALTER ANY SCHEMA TO SchemaCertUser
ADD SIGNATURE TO p_a BY CERTIFICATE SchemaCert
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment