We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6fd188 + 32d8c81 commit 87bad6fCopy full SHA for 87bad6f
articles/synapse-analytics/sql/create-external-table-as-select.md
@@ -33,8 +33,13 @@ You can use CREATE EXTERNAL TABLE AS SELECT (CETAS) statement to store the query
33
USE [mydbname];
34
GO
35
36
+CREATE DATABASE SCOPED CREDENTIAL [SasTokenWrite]
37
+WITH IDENTITY = 'SHARED ACCESS SIGNATURE',
38
+ SECRET = 'sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-04-18T20:42:12Z&st=2019-04-18T12:42:12Z&spr=https&sig=lQHczNvrk1KoYLCpFdSsMANd0ef9BrIPBNJ3VYEIq78%3D';
39
+GO
40
+
41
CREATE EXTERNAL DATA SOURCE [MyDataSource] WITH (
- LOCATION = 'https://sqlondemandstorage.blob.core.windows.net/csv'
42
+ LOCATION = 'https://<storage account name>.blob.core.windows.net/csv', CREDENTIAL [SasTokenWrite]
43
);
44
45
0 commit comments