---
title: "EXP-00091: Exporting questionable statistics 问题处理方法"
author: "dagu"
date: "2011-03-15T13:54:42Z"
tags: []
categories: ["数据库"]
slug: "exp-00091-exporting-questionable-statistics"
draft: false
lastmod: "2011-03-15T13:54:42Z"
id: 962911
url: "https://dagu.iteye.com/blog/962911"
---

1、查询数据库的字符集  
SQL&gt; select userenv('language') from dual;

USERENV('LANGUAGE')  
\----------------------------------------------------  
AMERICAN\_AMERICA.ZHS16GBK

2、设置Linux操作系统的NLS\_LANG环境变量  
export NLS\_LANG=AMERICAN\_AMERICA.ZHS16GBK

Window系统的环境变量的修改方法是：  
dos下：set NLS\_LANG=AMERICAN\_AMERICA.ZHS16GBK