ClickHouse/docs/en/faq/integration/oracle-odbc.md

15 lines
522 B
Markdown
Raw Normal View History

2020-06-22 13:35:41 +00:00
---
toc_hidden: true
2020-06-22 13:39:48 +00:00
toc_priority: 20
2020-06-22 13:35:41 +00:00
---
2020-06-22 13:39:48 +00:00
# What If I Have a Problem with Encodings When Using Oracle Via ODBC? {#oracle-odbc-encodings}
2020-06-22 13:35:41 +00:00
If you use Oracle as a source of ClickHouse external dictionaries via Oracle ODBC driver, you need to set the correct value for the `NLS_LANG` environment variable in `/etc/default/clickhouse`. For more information, see the [Oracle NLS\_LANG FAQ](https://www.oracle.com/technetwork/products/globalization/nls-lang-099431.html).
**Example**
``` sql
NLS_LANG=RUSSIAN_RUSSIA.UTF8
```