# SAP Data services integration with SingleStore

**URL:** <https://www.singlestore.com/forum/t/sap-data-services-integration-with-singlestore/5425>\
**Category:** 3rd-Party Integrations\
**Created:** [September 22, 2022, 7:25am UTC](https://www.singlestore.com/forum/t/sap-data-services-integration-with-singlestore/5425 "2022-09-22T07:25:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![e.soden](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/e/8491ac/32.png) [@e.soden](https://www.singlestore.com/forum/u/e.soden)\
**Post date:** [September 22, 2022, 7:25am UTC](https://www.singlestore.com/forum/t/sap-data-services-integration-with-singlestore/5425/1 "2022-09-22T07:25:10Z")

</div>

Dears,

We are using SAP Data services to replicate data to SingleStore database. Actually, most of our test is working fine.  
But we have found one issue when SAP Data services is trying to make a Delta Load.  
When table key is a String the application will use the following syntax

```auto
SELECT 1
FROM <TABLE>
WHERE <COLUMN> = N'Literal'

```

Here our problem is that SAP Data services does not support natively SingleStore but support MySQL 5.x and MySQL 8.x

Do you have an option that can be specified in order to support such syntax?

Regards  
Emmanuel

---

<div class="post-metadata">

**Author:** ![MariaSilverhardt](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/mariasilverhardt/32/828_2.png) [@MariaSilverhardt](https://www.singlestore.com/forum/u/MariaSilverhardt)\
**Post date:** [September 22, 2022, 2:48pm UTC](https://www.singlestore.com/forum/t/sap-data-services-integration-with-singlestore/5425/2 "2022-09-22T14:48:43Z")

</div>

Hi Emmanuel! 👋  
Sounds like an interesting project.  
Are you running on the managed or self-hosted service and what version number?

---

<div class="post-metadata">

**Author:** ![e.soden](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/e/8491ac/32.png) [@e.soden](https://www.singlestore.com/forum/u/e.soden)\
**Post date:** [September 22, 2022, 3:21pm UTC](https://www.singlestore.com/forum/t/sap-data-services-integration-with-singlestore/5425/3 "2022-09-22T15:21:42Z")

</div>

Hi,

Actually, we are making a test on self hosted version and the version is the latest one 7.8.14 using ODBC driver

Regards  
emmanuel

---

<div class="post-metadata">

**Author:** ![MariaSilverhardt](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/mariasilverhardt/32/828_2.png) [@MariaSilverhardt](https://www.singlestore.com/forum/u/MariaSilverhardt)\
**Post date:** [September 27, 2022, 5:45pm UTC](https://www.singlestore.com/forum/t/sap-data-services-integration-with-singlestore/5425/4 "2022-09-27T17:45:49Z")

</div>

Hi Emmanuel!

What ODBC driver are you using; [SingleStore ODB](https://docs.singlestore.com/db/v7.8/en/developer-resources/connect-with-application-development-tools/connect-with-odbc/the-singlestore-odbc-driver.html)C or [MySQL](https://docs.singlestore.com/db/v7.8/en/developer-resources/connect-with-application-development-tools/connect-with-odbc/mysql-connector-odbc-version-8-0-26--gplv2-.html)?

If MySQL, what version?

Either should work with the connection being in the ODBC manager. Try with the SingleStore ODBC, which supports ANSI and Unicode.

Some tips for SAP Data Services and SingleStore integration with the MySQL connector:

1. Check out the [SQL Mode in the](https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html)MySQL connector compared to [SQL Mode in SingleStore](https://docs.singlestore.com/db/v7.8/en/reference/configuration-reference/engine-variables/list-of-engine-variables.html).

- For example, try setting SAP DS to an ANSI SQL mode and `set SQL_MODE= 'ANSI'` in SingleStore.

1. Also, prepared statements need to be avoided in Data Services by setting up the Data Services data source as ODBC (Not MySQL) and turning off PARAMATERIZED SQL in the ODBC Advanced Configuration dialogue.

Hope this helps and please keep us posted. 💫

---

<div class="post-metadata">

**Author:** ![e.soden](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/e/8491ac/32.png) [@e.soden](https://www.singlestore.com/forum/u/e.soden)\
**Post date:** [September 29, 2022, 7:29am UTC](https://www.singlestore.com/forum/t/sap-data-services-integration-with-singlestore/5425/5 "2022-09-29T07:29:08Z")

</div>

Hi Maria,

Thank you for the feedback. Unfortunatelly, it failes since selecting **ODBC** instead of **MYSQL** complain about unknown attribute enum.

```auto
ODBC data source <SINGLESTORE_ODBC> error message for operation <SQLGetTypeInfo>: <[ss-1.1.0][7.8.15]Unknown column 'enum' in 'field list'>

```

I will continue to investigate this.

I forgot to mention that I’m using SingleStore ODBC driver Unicode. That kind of issue does not occured with ANSI driver but we need to use a Unicode driver.

I suspect that SAP Data Services add ‘N(String)’ for MySQL database in Unicode. But not sure.

Regards  
emmanuel
