Skip to content

Commit

Permalink
Merge pull request #14 from jovanpop-msft/master
Browse files Browse the repository at this point in the history
Adding master key i SampleDB
  • Loading branch information
jovanpop-msft authored May 7, 2020
2 parents 8345699 + 90b8074 commit 9e4f666
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SQL/Samples/LdwSample/SampleDB.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ IF (EXISTS(SELECT * FROM sys.external_data_sources WHERE name = 'YellowTaxi')) B
DROP EXTERNAL DATA SOURCE YellowTaxi
END

IF NOT EXISTS (SELECT * FROM sys.symmetric_keys) BEGIN
CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'Put very strong password here!'
END

IF EXISTS
(SELECT * FROM sys.credentials
WHERE name = 'https://sqlondemandstorage.blob.core.windows.net')
Expand Down

0 comments on commit 9e4f666

Please sign in to comment.