Skip to content

Commit 6c564f0

Browse files
committed
Update ODBC & SAP HANA connector
1 parent baa6f2f commit 6c564f0

File tree

2 files changed

+32
-43
lines changed

2 files changed

+32
-43
lines changed

articles/data-factory/connector-odbc.md

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.workload: data-services
1212

1313

1414
ms.topic: conceptual
15-
ms.date: 01/09/2020
15+
ms.date: 04/22/2020
1616
ms.author: jingwang
1717

1818
---
@@ -33,7 +33,7 @@ This ODBC connector is supported for the following activities:
3333

3434
You can copy data from ODBC source to any supported sink data store, or copy from any supported source data store to ODBC sink. For a list of data stores that are supported as sources/sinks by the copy activity, see the [Supported data stores](copy-activity-overview.md#supported-data-stores-and-formats) table.
3535

36-
Specifically, this ODBC connector supports copying data from/to **any ODBC-compatible data stores** using **Basic** or **Anonymous** authentication. A **64-bit ODBC driver** is required.
36+
Specifically, this ODBC connector supports copying data from/to **any ODBC-compatible data stores** using **Basic** or **Anonymous** authentication. A **64-bit ODBC driver** is required. For ODBC sink, ADF support ODBC version 2.0 standard.
3737

3838
## Prerequisites
3939

@@ -234,49 +234,10 @@ To copy data to ODBC-compatible data store, set the sink type in the copy activi
234234
]
235235
```
236236

237-
## SAP HANA sink
238-
239-
>[!NOTE]
240-
>To copy data from SAP HANA data store, refer to native [SAP HANA connector](connector-sap-hana.md). To copy data to SAP HANA, please follow this instruction to use ODBC connector. Note the linked services for SAP HANA connector and ODBC connector are with different type thus cannot be reused.
241-
>
242-
243-
You can copy data to SAP HANA database using the generic ODBC connector.
244-
245-
Set up a Self-hosted Integration Runtime on a machine with access to your data store. The Integration Runtime uses the ODBC driver for SAP HANA to connect to the data store. Therefore, install the driver if it is not already installed on the same machine. See [Prerequisites](#prerequisites) section for details.
246-
247-
Before you use the SAP HANA sink in a Data Factory solution, verify whether the Integration Runtime can connect to the data store using instructions in [Troubleshoot connectivity issues](#troubleshoot-connectivity-issues) section.
248-
249-
Create an ODBC linked service to link a SAP HANA data store to an Azure data factory as shown in the following example:
250-
251-
```json
252-
{
253-
"name": "SAPHANAViaODBCLinkedService",
254-
"properties": {
255-
"type": "Odbc",
256-
"typeProperties": {
257-
"connectionString": "Driver={HDBODBC};servernode=<HANA server>.clouddatahub-int.net:30015",
258-
"authenticationType": "Basic",
259-
"userName": "<username>",
260-
"password": {
261-
"type": "SecureString",
262-
"value": "<password>"
263-
}
264-
},
265-
"connectVia": {
266-
"referenceName": "<name of Integration Runtime>",
267-
"type": "IntegrationRuntimeReference"
268-
}
269-
}
270-
}
271-
```
272-
273-
Read the article from the beginning for a detailed overview of using ODBC data stores as source/sink data stores in a copy operation.
274-
275237
## Lookup activity properties
276238

277239
To learn details about the properties, check [Lookup activity](control-flow-lookup-activity.md).
278240

279-
280241
## Troubleshoot connectivity issues
281242

282243
To troubleshoot connection issues, use the **Diagnostics** tab of **Integration Runtime Configuration Manager**.

articles/data-factory/connector-sap-hana.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: data-factory
1010
ms.workload: data-services
1111
ms.topic: conceptual
1212
ms.custom: seo-lt-2019
13-
ms.date: 02/17/2020
13+
ms.date: 04/22/2020
1414
---
1515

1616
# Copy data from SAP HANA using Azure Data Factory
@@ -41,7 +41,7 @@ Specifically, this SAP HANA connector supports:
4141
- Parallel copying from a SAP HANA source. See the [Parallel copy from SAP HANA](#parallel-copy-from-sap-hana) section for details.
4242

4343
> [!TIP]
44-
> To copy data **into** SAP HANA data store, use generic ODBC connector. See [SAP HANA sink](connector-odbc.md#sap-hana-sink) with details. Note the linked services for SAP HANA connector and ODBC connector are with different type thus cannot be reused.
44+
> To copy data **into** SAP HANA data store, use generic ODBC connector. See [SAP HANA sink](#sap-hana-sink) section with details. Note the linked services for SAP HANA connector and ODBC connector are with different type thus cannot be reused.
4545
4646
## Prerequisites
4747

@@ -294,6 +294,34 @@ When copying data from SAP HANA, the following mappings are used from SAP HANA d
294294
| TIMESTAMP | DateTime |
295295
| VARBINARY | Byte[] |
296296

297+
### SAP HANA sink
298+
299+
Currently, the SAP HANA connector is not supported as sink, while you can use generic ODBC connector with SAP HANA driver to write data into SAP HANA.
300+
301+
Follow the [Prerequisites](#prerequisites) to set up Self-hosted Integration Runtime and install SAP HANA ODBC driver first. Create an ODBC linked service to connect to your SAP HANA data store as shown in the following example, then create dataset and copy activity sink with ODBC type accordingly. Learn more from [ODBC connector](connector-odbc.md) article.
302+
303+
```json
304+
{
305+
"name": "SAPHANAViaODBCLinkedService",
306+
"properties": {
307+
"type": "Odbc",
308+
"typeProperties": {
309+
"connectionString": "Driver={HDBODBC};servernode=<HANA server>.clouddatahub-int.net:30015",
310+
"authenticationType": "Basic",
311+
"userName": "<username>",
312+
"password": {
313+
"type": "SecureString",
314+
"value": "<password>"
315+
}
316+
},
317+
"connectVia": {
318+
"referenceName": "<name of Integration Runtime>",
319+
"type": "IntegrationRuntimeReference"
320+
}
321+
}
322+
}
323+
```
324+
297325
## Lookup activity properties
298326

299327
To learn details about the properties, check [Lookup activity](control-flow-lookup-activity.md).

0 commit comments

Comments
 (0)