File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,6 @@ IF EXISTS
6969 DROP DATABASE SCOPED CREDENTIAL [sqlondemand]
7070GO
7171
72- IF EXISTS
73- (SELECT * FROM sys .database_scoped_credentials
74- WHERE name = ' AadIdentity' )
75- DROP DATABASE SCOPED CREDENTIAL [AadIdentity]
76- GO
77-
7872IF EXISTS
7973 (SELECT * FROM sys .database_scoped_credentials
8074 WHERE name = ' WorkspaceIdentity' )
@@ -93,9 +87,6 @@ CREATE DATABASE SCOPED CREDENTIAL [sqlondemand]
9387WITH IDENTITY = ' SHARED ACCESS SIGNATURE' ,
9488SECRET = ' sv=2018-03-28&ss=bf&srt=sco&sp=rl&st=2019-10-14T12%3A10%3A25Z&se=2061-12-31T12%3A10%3A00Z&sig=KlSU2ullCscyTS0An0nozEpo4tO5JAgGBvw%2FJX2lguw%3D'
9589GO
96- -- Create credential that will allow AAD user to impersonate
97- CREATE DATABASE SCOPED CREDENTIAL AadIdentity WITH IDENTITY = ' User Identity'
98- GO
9990-- Create credential that will allow user to impersonate using Managed Identity assigned to workspace
10091CREATE DATABASE SCOPED CREDENTIAL WorkspaceIdentity WITH IDENTITY = ' Managed Identity'
10192GO
@@ -130,7 +121,7 @@ WITH ( LOCATION = 'https://azureopendatastorage.blob.core.windows.net/nyctlc/yel
130121GO
131122CREATE EXTERNAL DATA SOURCE GreenTaxi
132123WITH ( LOCATION = ' https://azureopendatastorage.blob.core.windows.net/nyctlc/green/' )
133-
124+ GO
134125
135126CREATE EXTERNAL FILE FORMAT QuotedCsvWithHeader
136127WITH (
You can’t perform that action at this time.
0 commit comments