Skip to content

Commit 9e7add8

Browse files
Update SampleDB.sql
1 parent 3165cde commit 9e7add8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

SQL/Samples/LdwSample/SampleDB.sql

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ IF EXISTS
6969
DROP DATABASE SCOPED CREDENTIAL [sqlondemand]
7070
GO
7171

72-
IF EXISTS
73-
(SELECT * FROM sys.database_scoped_credentials
74-
WHERE name = 'AadIdentity')
75-
DROP DATABASE SCOPED CREDENTIAL [AadIdentity]
76-
GO
77-
7872
IF EXISTS
7973
(SELECT * FROM sys.database_scoped_credentials
8074
WHERE name = 'WorkspaceIdentity')
@@ -93,9 +87,6 @@ CREATE DATABASE SCOPED CREDENTIAL [sqlondemand]
9387
WITH IDENTITY='SHARED ACCESS SIGNATURE',
9488
SECRET = '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'
9589
GO
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
10091
CREATE DATABASE SCOPED CREDENTIAL WorkspaceIdentity WITH IDENTITY = 'Managed Identity'
10192
GO
@@ -130,7 +121,7 @@ WITH ( LOCATION = 'https://azureopendatastorage.blob.core.windows.net/nyctlc/yel
130121
GO
131122
CREATE EXTERNAL DATA SOURCE GreenTaxi
132123
WITH ( LOCATION = 'https://azureopendatastorage.blob.core.windows.net/nyctlc/green/')
133-
124+
GO
134125

135126
CREATE EXTERNAL FILE FORMAT QuotedCsvWithHeader
136127
WITH (

0 commit comments

Comments
 (0)