EXP-××××: 问题处理方法(整理中..)

1.EXP-00091: Exporting questionable statistics.

 

指定Linux系统的NLS_LANG环境变量为数据库的数据集
1)查询数据库的字符集(方法很多只用一种)
SQL> select userenv('language') from dual;

USERENV('LANGUAGE')
----------------------------------------------------
AMERICAN_AMERICA.WE8ISO8859P1

2)设置Linux操作系统的NLS_LANG环境变量
[oracle@RH207 exp]$export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1

Window系统的环境变量的修改方法是:
C:\>set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1

2.ORA-39212: installation error: XSL stylesheets not loaded correctly

 

以sysdba权限的用户登陆执行以下语句:


SQL> exec dbms_metadata_util.load_stylesheets;

PL/SQL procedure successfully completed.

 

3.EXP-00079: Data in table "PURCHASEORDER" is protected. Conventional path may only be exporting partial table.

 

一是导出的时候指定direct=y;二是exp sys/password as sysdba 这种方式导出;三:grant exempt access policy to xxx用户

测试如下:

[oracle@sunsyk u01]$exp system/sunsyk file=/u01/bak/exp_0224.dmp log=/u01/bak/exp_0224.log full=y compress=n direct=y

 

exp sys/password as sysdba 这种方法我没测试成功,谁成功请告知下。

 

SQL> grant exempt access policy to system;

然后再导出

[oracle@sunsyk u01]$exp system/sunsyk file=/u01/bak/exp_0224.dmp log=/u01/bak/exp_0224.log full=y compress=n

 

你可能感兴趣的:(oracle,sql,linux,Access,XSL)