1

我正在使用 IBM Data Studio 对 DB2 数据库运行 SQL 查询。对于在文本中包含特殊字符(如撇号)的 CHAR 列(长度为 72),该记录列的结果为 NULL。

当我使用 SAS 或 MS Access 连接到同一个 DB2 数据库时,我得到了列的结果,但特殊字符被替换为黑色菱形/白色问号。

我假设我需要在 IBM Data Studio 中更改某种编码或驱动程序,但我无法弄清楚它是什么。有什么建议么?

4

1 回答 1

0

With SAS encoding might be latin, which cannot successfully convert unicode character to latin, For IBM data studio. check below link how similar problem was fixed.

http://db2commerce.com/2013/03/27/the-basics-of-code-pages-in-db2/

于 2018-03-30T17:47:30.533 回答