open master key sql server code example Example: opening master key sql OPEN MASTER KEY DECRYPTION BY PASSWORD = 'password'