The user with dbcreator permissions can follow these steps to create the master key password:
Open MSSQL Server Management Studio, right-click the database and choose New Query
In the workspace, run the following query:
The user with dbcreator permissions can follow these steps to change the master password:
Open MSSQL Server Management Studio, right-click the database and choose New Query
For regenerating the database master key and all other keys, run the following query:
To create an additional master key password, run the following query:
Note that after you create an alternative master key password, the old master key password will still be functional.
Open MSSQL Server Management Studio, right-click the database and choose New Query
In the workspace, run the following query:
Open MSSQL Server Management Studio, right-click the database and choose New Query
In the workspace, run the following query:
The master key password will be restored to the database.
This can happen of the password doesn't comply with the password policy of the MSSQL-installed machine.