Skip to content

Commit 5b78422

Browse files
authored
indent
1 parent aa033c8 commit 5b78422

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

articles/synapse-analytics/sql-data-warehouse/quickstart-bulk-load-copy-tsql-examples.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ Managed Identity authentication is required when your storage account is attache
8787
8888
4. You can now run the COPY statement specifying "Managed Identity":
8989

90-
```sql
91-
COPY INTO dbo.target_table
92-
FROM 'https://myaccount.blob.core.windows.net/myblobcontainer/folder1/*.txt'
93-
WITH (
94-
FILE_TYPE = 'CSV',
95-
CREDENTIAL = (IDENTITY = 'Managed Identity'),
96-
)
97-
```
90+
```sql
91+
COPY INTO dbo.target_table
92+
FROM 'https://myaccount.blob.core.windows.net/myblobcontainer/folder1/*.txt'
93+
WITH (
94+
FILE_TYPE = 'CSV',
95+
CREDENTIAL = (IDENTITY = 'Managed Identity'),
96+
)
97+
```
9898

9999
> [!IMPORTANT]
100100
>
@@ -109,13 +109,13 @@ WITH (
109109

110110
3. Connect to your SQL pool using Active Directory where you can now run the COPY statement without specifying any credentials:
111111

112-
```sql
113-
COPY INTO dbo.target_table
114-
FROM 'https://myaccount.blob.core.windows.net/myblobcontainer/folder1/*.txt'
115-
WITH (
116-
FILE_TYPE = 'CSV'
117-
)
118-
```
112+
```sql
113+
COPY INTO dbo.target_table
114+
FROM 'https://myaccount.blob.core.windows.net/myblobcontainer/folder1/*.txt'
115+
WITH (
116+
FILE_TYPE = 'CSV'
117+
)
118+
```
119119

120120
> [!IMPORTANT]
121121
>
@@ -131,16 +131,16 @@ WITH (
131131
5. [Assign read, write, and execution permissions to your AAD application](https://docs.microsoft.com/azure/data-lake-store/data-lake-store-service-to-service-authenticate-using-active-directory?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json#step-3-assign-the-azure-ad-application-to-the-azure-data-lake-storage-gen1-account-file-or-folder) on your storage account
132132
6. You can now run the COPY statement:
133133

134-
```sql
135-
COPY INTO dbo.target_table
136-
FROM 'https://myaccount.blob.core.windows.net/myblobcontainer/folder0/*.txt'
137-
WITH (
138-
FILE_TYPE = 'CSV'
139-
,CREDENTIAL=(IDENTITY= '<application_ID>@<OAuth_2.0_Token_EndPoint>' , SECRET= '<authentication_key>')
140-
--CREDENTIAL should look something like this:
141-
--,CREDENTIAL=(IDENTITY= '92761aac-12a9-4ec3-89b8-7149aef4c35b@https://login.microsoftonline.com/72f714bf-86f1-41af-91ab-2d7cd011db47/oauth2/token', SECRET='juXi12sZ6gse]woKQNgqwSywYv]7A.M')
142-
)
143-
```
134+
```sql
135+
COPY INTO dbo.target_table
136+
FROM 'https://myaccount.blob.core.windows.net/myblobcontainer/folder0/*.txt'
137+
WITH (
138+
FILE_TYPE = 'CSV'
139+
,CREDENTIAL=(IDENTITY= '<application_ID>@<OAuth_2.0_Token_EndPoint>' , SECRET= '<authentication_key>')
140+
--CREDENTIAL should look something like this:
141+
--,CREDENTIAL=(IDENTITY= '92761aac-12a9-4ec3-89b8-7149aef4c35b@https://login.microsoftonline.com/72f714bf-86f1-41af-91ab-2d7cd011db47/oauth2/token', SECRET='juXi12sZ6gse]woKQNgqwSywYv]7A.M')
142+
)
143+
```
144144

145145
> [!IMPORTANT]
146146
>

0 commit comments

Comments
 (0)