+ -
当前位置:首页 → 问答吧 → pro*c连接orecle出错

pro*c连接orecle出错

时间:2011-10-31

来源:互联网

大家好:希望有人碰到过类似问题
在AIX 5.3 下pro*c连接数据库的时候,
SQLCODE-12705 ,SQLSTATEORA-12705: Cannot access NLS data files or invalid environment specifi
这个需要设置主机的nls_lang和数据库的nls_lang吗?

作者: qimengmeiling   发布时间: 2011-10-31

ORA-12705 invalid or unknown NLS parameter value specified

Cause: There are two possible causes: Either an attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value; or the NLS_LANG environment variable contains an invalid language, territory, or character set.

Action: Check the syntax of the ALTER SESSION statement and the NLS parameter, correct the syntax and retry the statement, or specify correct values in the NLS_LANG environment variable. For more information about the syntax of the ALTER SESSION statement, see the Oracle9i SQL Reference.

作者: dawugui   发布时间: 2011-10-31