Skip to content

Commit e61a5d3

Browse files
20230913 bulk ops examples
1 parent 65af7b6 commit e61a5d3

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎docs/t-sql/statements/create-external-data-source-transact-sql.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: CREATE EXTERNAL DATA SOURCE creates an external data source used to
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: randolphwest, hudequei
7-
ms.date: 09/11/2023
7+
ms.date: 09/13/2023
88
ms.service: sql
99
ms.subservice: t-sql
1010
ms.topic: reference
@@ -1091,7 +1091,7 @@ GO
10911091
10921092
### H. Create an external data source for bulk operations retrieving data from Azure Storage
10931093

1094-
**Applies to:** [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)] and later.
1094+
**Applies to:** [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)] and [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)]
10951095

10961096
Use the following data source for bulk operations using [BULK INSERT][bulk_insert] or [OPENROWSET][openrowset]. The credential must set `SHARED ACCESS SIGNATURE` as the identity, mustn't have the leading `?` in the SAS token, must have at least read permission on the file that should be loaded (for example `srt=o&sp=r`), and the expiration period should be valid (all dates are in UTC time). For more information on shared access signatures, see [Using Shared Access Signatures (SAS)][sas_token].
10971097

@@ -1707,7 +1707,7 @@ For a more detailed example on how to access delta files stored on Azure Data L
17071707
17081708
### H. Create an external data source for bulk operations retrieving data from Azure Storage
17091709

1710-
**Applies to:** [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)] and later.
1710+
**Applies to:** [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] and later.
17111711

17121712
Use the following data source for bulk operations using [BULK INSERT][bulk_insert] or [OPENROWSET][openrowset]. The credential must set `SHARED ACCESS SIGNATURE` as the identity, mustn't have the leading `?` in the SAS token, must have at least read permission on the file that should be loaded (for example `srt=o&sp=r`), and the expiration period should be valid (all dates are in UTC time). For more information on shared access signatures, see [Using Shared Access Signatures (SAS)][sas_token].
17131713

@@ -1720,9 +1720,8 @@ WITH
17201720

17211721
CREATE EXTERNAL DATA SOURCE MyAzureInvoices
17221722
WITH
1723-
( LOCATION = 'https://newinvoices.blob.core.windows.net/week3' ,
1724-
CREDENTIAL = AccessAzureInvoices ,
1725-
TYPE = BLOB_STORAGE
1723+
( LOCATION = 'abs://<container>@<storage_account_name>.blob.core.windows.net/' ,
1724+
CREDENTIAL = AccessAzureInvoices,
17261725
) ;
17271726
```
17281727

0 commit comments

Comments
 (0)