Created
February 22, 2022 08:35
-
-
Save UstDoesTech/6fce12200a5ce1bca64fd7bc4fe1d013 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE MASTER KEY ENCRYPTION | |
BY PASSWORD = '<Secure String>'; | |
CREATE DATABASE SCOPED CREDENTIAL [SqlCredsMI] | |
WITH IDENTITY='Managed Identity'; | |
CREATE EXTERNAL DATA SOURCE DataLakeMI WITH ( | |
LOCATION = 'https://datalakename.dfs.core.windows.net' | |
, CREDENTIAL = SqlCredsMI | |
); | |
CREATE EXTERNAL FILE FORMAT DeltaLakeFormat WITH ( FORMAT_TYPE = DELTA ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment