Click here to Skip to main content
15,849,328 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
drop the ##MS_DatabaseMasterKey## in sql server 2012?

drop master key;
Global temporary keys are not allowed. You can only use local temporary keys.

1 solution

This is a bug in schema compare. It is not generating the script properly when attempting to drop the master key. There is a special command for dropping the master key - DROP MASTER KEY.

Found on the discussion at here[^].

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900