2

亲爱的,我正在尝试执行以下操作。

我想将阿拉伯字符存储在我的数据库中,但问题是它们的存储方式是'??? ????'。我已经尝试过这些功能:

msg_txt:=convert(msg_txt, 'AR8MSWIN1256', 'AR8ISO8859P6');

但我收到了这个错误:

ORA-01858: a non-numeric character was found where a numeric was expected

请问有什么建议吗?

谢谢

4

2 回答 2

1

What is your database and national character set? If you're not sure

SELECT *
  FROM v$nls_parameter
 WHERE name LIKE '%CHARACTERSET'

What is the data type of the msg_txt variable? CHAR/ VARCHAR2? Or NCHAR/ NVARCHAR2?

于 2010-11-28T10:10:24.253 回答
0

make sure the data type is nvarchar (unicode)

于 2010-11-28T10:12:28.290 回答