Home » RDBMS Server » Server Utilities » changing nls_lang parameters to remove exporting questionable statistiocs errors
changing nls_lang parameters to remove exporting questionable statistiocs errors [message #72939] Thu, 18 December 2003 21:35 Go to next message
Natraj
Messages: 53
Registered: March 2003
Member
i hada doubt in changing Nls_lang parameter, i want to change it to we8mswin32 or anything elwse, i want to remove that exporting questionable statistics, at the same time i want the statistics, so i dont wanna set the statistics=none, my database details are as follows
SQL> select * from nls_session_parameters;

PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_LANGUAGE
AMERICAN

NLS_TERRITORY
AMERICA

NLS_CURRENCY
$

PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_ISO_CURRENCY
AMERICA

NLS_NUMERIC_CHARACTERS
.,

NLS_CALENDAR
GREGORIAN

PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_DATE_FORMAT
DD-MON-RR

NLS_DATE_LANGUAGE
AMERICAN

NLS_SORT
BINARY

PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_TIME_FORMAT
HH.MI.SSXFF AM

NLS_TIMESTAMP_FORMAT
DD-MON-RR HH.MI.SSXFF AM

NLS_TIME_TZ_FORMAT
HH.MI.SSXFF AM TZR

PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_TIMESTAMP_TZ_FORMAT
DD-MON-RR HH.MI.SSXFF AM TZR

NLS_DUAL_CURRENCY
$

NLS_COMP
BINARY

PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_LENGTH_SEMANTICS
BYTE

NLS_NCHAR_CONV_EXCP
FALSE

17 rows selected.
I am also attaching the log file i got when i took the export , pls have alook at it, it says a s follows
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses UTF8 character set (possible charset conversion)
. exporting pre-schema procedural objects and actions
.
NSQL> alter database cbprod character set al16utf16;
alter database cbprod character set al16utf16
*
ERROR at line 1:
ORA-12712: new character set must be a superset of old character set

SQL> alter database cbprod character set AMERICAN_AMERICA.WE8MSWIN1252
2 ;
alter database cbprod character set AMERICAN_AMERICA.WE8MSWIN1252
*
ERROR at line 1:
ORA-00933: SQL command not properly ended

SQL> alter database cbprod character set us7ascii;
alter database cbprod character set us7ascii
*
ERROR at line 1:
ORA-12712: new character set must be a superset of old character set

SQL> alter database cbprod character set th8tisascii;
alter database cbprod character set th8tisascii
*
ERROR at line 1:
ORA-12712: new character set must be a superset of old character set

I get the following error. kindly advise me what to do, i need the solution today itself..
Re: changing nls_lang parameters to remove exporting questionable statistiocs errors [message #72940 is a reply to message #72939] Fri, 19 December 2003 02:12 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
NLS_LANG is OS level environment variable.. set it in OS
Re: changing nls_lang parameters to remove exporting questionable statistiocs errors [message #72942 is a reply to message #72939] Fri, 19 December 2003 09:19 Go to previous messageGo to next message
Roy
Messages: 30
Registered: May 2002
Member
for example:

setenv NLS_LANG american_america.WE8MSWIN1252

To avoid questionable statistics error make sure the language settings of your database matches the NLS_LANG. You can see what language your database is using when you try an export. It will have a line saying 'Server uses ........ character set'.

So replace 'WE8MSWIN1252' part with the above server character set.
Re: changing nls_lang parameters to remove exporting questionable statistiocs errors [message #159401 is a reply to message #72940] Sat, 18 February 2006 07:14 Go to previous messageGo to next message
raptor74
Messages: 1
Registered: February 2006
Junior Member
if i export using exp utility version 9.2.0.5 i get this error "Exporting Questionable Statistics". now if i do this export using 8.1.7 utility i do not get this error....not able to uderstand...
also if i change os environment of the server running 9.2.0.5 version of oracle will that have any other impact..
Re: changing nls_lang parameters to remove exporting questionable statistiocs errors [message #159442 is a reply to message #159401] Sun, 19 February 2006 12:37 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
its a new feature in 9i.
Previous Topic: Error while importing excel sheet data into oracle using Toad
Next Topic: regardding sqlldr
Goto Forum:
  


Current Time: Thu Dec 26 08:14:43 CST 2024