|
2 | 2 | title: COPY INTO (Transact-SQL) (preview) |
3 | 3 | titleSuffix: (SQL Data Warehouse) - SQL Server |
4 | 4 | description: Use the COPY statement in Azure SQL Data Warehouse for loading from external storage accounts. |
5 | | -ms.date: 04/24/2020 |
| 5 | +ms.date: 04/30/2020 |
6 | 6 | ms.prod: sql |
7 | 7 | ms.prod_service: "database-engine, sql-data-warehouse" |
8 | 8 | ms.reviewer: jrasnick |
@@ -135,30 +135,31 @@ Multiple file locations can only be specified from the same storage account and |
135 | 135 | When authenticating using AAD or to a public storage account, CREDENTIAL does not need to be specified. |
136 | 136 |
|
137 | 137 | - Authenticating with Shared Access Signatures (SAS) |
138 | | - *IDENTITY: A constant with a value of ‘Shared Access Signature’* |
139 | | - *SECRET: The* [*shared access signature*](/azure/storage/common/storage-sas-overview) *provides delegated access to resources in your storage account.* |
140 | | - Minimum permissions required: READ and LIST |
141 | | - |
| 138 | + |
| 139 | + - *IDENTITY: A constant with a value of ‘Shared Access Signature’* |
| 140 | + - *SECRET: The* [*shared access signature*](/azure/storage/common/storage-sas-overview) *provides delegated access to resources in your storage account.* |
| 141 | + - Minimum permissions required: READ and LIST |
| 142 | + |
142 | 143 | - Authenticating with [*Service Principals*](/azure/sql-data-warehouse/sql-data-warehouse-load-from-azure-data-lake-store#create-a-credential) |
143 | 144 |
|
144 | | - *IDENTITY: <ClientID>@<OAuth_2.0_Token_EndPoint>* |
145 | | - *SECRET: AAD Application Service Principal key* |
146 | | - Minimum RBAC roles required: Storage blob data contributor, Storage blob data contributor, Storage blob data owner, or Storage blob data reader |
147 | | - |
148 | | - > [!NOTE] |
149 | | - > Use the OAuth 2.0 token endpoint **V1** |
| 145 | + - *IDENTITY: <ClientID>@<OAuth_2.0_Token_EndPoint>* |
| 146 | + - *SECRET: AAD Application Service Principal key* |
| 147 | + - Minimum RBAC roles required: Storage blob data contributor, Storage blob data contributor, Storage blob data owner, or Storage blob data reader |
150 | 148 |
|
151 | 149 | - Authenticating with Storage account key |
152 | | - *IDENTITY: A constant with a value of ‘Storage Account Key’* |
153 | | - *SECRET: Storage account key* |
| 150 | + |
| 151 | + - *IDENTITY: A constant with a value of ‘Storage Account Key’* |
| 152 | + - *SECRET: Storage account key* |
154 | 153 |
|
155 | 154 | - Authenticating with [Managed Identity](/azure/sql-data-warehouse/load-data-from-azure-blob-storage-using-polybase#authenticate-using-managed-identities-to-load-optional) (VNet Service Endpoints) |
156 | | - *IDENTITY: A constant with a value of ‘Managed Identity’* |
157 | | - Minimum RBAC roles required: Storage blob data contributor, Storage blob data owner, or Storage blob data reader for the AAD registered SQL Database server |
| 155 | + |
| 156 | + - *IDENTITY: A constant with a value of ‘Managed Identity’* |
| 157 | + - Minimum RBAC roles required: Storage blob data contributor or Storage blob data owner for the AAD registered SQL Database server |
158 | 158 |
|
159 | 159 | - Authenticating with an AAD user |
160 | | - *CREDENTIAL is not required* |
161 | | - Minimum RBAC roles required: Storage blob data contributor, Storage blob data owner, or Storage blob data reader for the AAD user |
| 160 | + |
| 161 | + - *CREDENTIAL is not required* |
| 162 | + - Minimum RBAC roles required: Storage blob data contributor or Storage blob data owner for the AAD user |
162 | 163 |
|
163 | 164 | *ERRORFILE = Directory Location*</br> |
164 | 165 | *ERRORFILE* only applies to CSV. Specifies the directory within the COPY statement where the rejected rows and the corresponding error file should be written. The full path from the storage account can be specified or the path relative to the container can be specified. If the specified path doesn't exist, one will be created on your behalf. A child directory is created with the name "_rejectedrows". The "_" character ensures that the directory is escaped for other data processing unless explicitly named in the location parameter. |
|
0 commit comments