亲爱的,我正在尝试执行以下操作。
我想将阿拉伯字符存储在我的数据库中,但问题是它们的存储方式是'??? ????'。我已经尝试过这些功能:
msg_txt:=convert(msg_txt, 'AR8MSWIN1256', 'AR8ISO8859P6');
但我收到了这个错误:
ORA-01858: a non-numeric character was found where a numeric was expected
请问有什么建议吗?
谢谢
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?
make sure the data type is nvarchar
(unicode)