关于数据库字符集和客户端字符集不同导致无法EXP
客户数据库字符集为UTF8,客户端字符集为ZHS16GBK,EXP报错,作如下修改更改客户端字符集:检查数据库字符集:col name for a30col value$ for a20col comment$ for a20select * from props$ where name = 'NLS_CHARACTERSET';检查客户端字符集:echo $NLS_LANG修改客户端字符集:export set NLS_LANG=AMERICAN_AMERICA.AL32UTF8这样数据库字符集和客户端字符集就统一了。然后进行export操作:export sns/password owner=sns file=XXXXX.dmp[@more@]