nls_database_parameters CDB and PDB [message #644813] |
Wed, 18 November 2015 04:59 |
|
sarrus
Messages: 5 Registered: November 2015
|
Junior Member |
|
|
Can anyone explain why nls_database_parameters changes when creating PDB's?
My CDB shows :
NLS_RDBMS_VERSION;12.1.0.2.0 NLS_NCHAR_CONV_EXCP;FALSE NLS_LENGTH_SEMANTICS;BYTE NLS_COMP;BINARY NLS_DUAL_CURRENCY;$ NLS_TIMESTAMP_TZ_FORMAT;DD-MON-RR HH.MI.SSXFF AM TZR NLS_TIME_TZ_FORMAT;HH.MI.SSXFF AM TZR NLS_TIMESTAMP_FORMAT;DD-MON-RR HH.MI.SSXFF AM NLS_TIME_FORMAT;HH.MI.SSXFF AM NLS_SORT;BINARY NLS_DATE_LANGUAGE;AMERICAN NLS_DATE_FORMAT;DD-MON-RR NLS_CALENDAR;GREGORIAN NLS_NUMERIC_CHARACTERS;., NLS_NCHAR_CHARACTERSET;AL16UTF16 NLS_CHARACTERSET;AL32UTF8 NLS_ISO_CURRENCY;AMERICA NLS_CURRENCY;$ NLS_TERRITORY;AMERICA NLS_LANGUAGE;AMERICAN
When I create the a simple PDB, the nls_database_parameters shows:
NLS_RDBMS_VERSION;12.1.0.2.0 NLS_NCHAR_CONV_EXCP;FALSE NLS_LENGTH_SEMANTICS;BYTE NLS_COMP;BINARY NLS_DUAL_CURRENCY;Kr. NLS_TIMESTAMP_TZ_FORMAT;DD.MM.RRRR HH24.MI.SSXFF TZR NLS_TIME_TZ_FORMAT;HH24.MI.SSXFF TZR NLS_TIMESTAMP_FORMAT;DD.MM.RRRR HH24.MI.SSXFF NLS_TIME_FORMAT;HH24.MI.SSXFF NLS_SORT;NORWEGIAN NLS_DATE_LANGUAGE;NORWEGIAN NLS_DATE_FORMAT;DD.MM.RRRR NLS_CALENDAR;GREGORIAN NLS_NUMERIC_CHARACTERS;, NLS_NCHAR_CHARACTERSET;AL16UTF16 NLS_CHARACTERSET;AL32UTF8 NLS_ISO_CURRENCY;NORWAY NLS_CURRENCY;kr NLS_TERRITORY;NORWAY NLS_LANGUAGE;NORWEGIAN
I want the nls_database_parameters to be the same as the CDB, is there a way to do this?
|
|
|
|
|
|
|
|
|
Re: nls_database_parameters CDB and PDB [message #644855 is a reply to message #644834] |
Thu, 19 November 2015 00:53 |
|
sarrus
Messages: 5 Registered: November 2015
|
Junior Member |
|
|
From CDB
select parameter,value from v$nls_parameters;
NLS_LANGUAGE;AMERICAN
nls_territory;AMERICA
nls_currency;$
nls_iso_currency;AMERICA
nls_numeric_characters;.,
nls_calendar;GREGORIAN
nls_date_format;DD-mon-rr
nls_date_language;AMERICAN
nls_characterset;AL32UTF8
nls_sort;BINARY
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
nls_timestamp_tz_format;DD-mon-rr hh.mi.ssxff am tzr
nls_dual_currency;$
nls_nchar_characterset;AL16UTF16
nls_comp;BINARY
nls_length_semantics;BYTE
nls_nchar_conv_excp;FALSE
select parameter,value from nls_database_parameters;
PARAMETER;VALUE
nls_rdbms_version;12.1.0.2.0
nls_nchar_conv_excp;FALSE
nls_length_semantics;BYTE
nls_comp;BINARY
nls_dual_currency;$
nls_timestamp_tz_format;DD-mon-rr hh.mi.ssxff am tzr
nls_time_tz_format;HH.mi.ssxff am tzr
nls_timestamp_format;DD-mon-rr hh.mi.ssxff am
nls_time_format;HH.mi.ssxff am
nls_sort;BINARY
nls_date_language;AMERICAN
nls_date_format;DD-mon-rr
nls_calendar;GREGORIAN
nls_numeric_characters;.,
nls_nchar_characterset;AL16UTF16
nls_characterset;AL32UTF8
nls_iso_currency;AMERICA
nls_currency;$
nls_territory;AMERICA
nls_language;AMERICAN
**************
From PDB
select parameter,value from v$nls_parameters;
PARAMETER;VALUE
nls_language;AMERICAN
nls_territory;AMERICA
nls_currency;$
nls_iso_currency;AMERICA
nls_numeric_characters;.,
nls_calendar;GREGORIAN
nls_date_format;DD-mon-rr
nls_date_language;AMERICAN
nls_characterset;AL32UTF8
nls_sort;BINARY
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
nls_timestamp_tz_format;DD-mon-rr hh.mi.ssxff am tzr
nls_dual_currency;$
nls_nchar_characterset;AL16UTF16
nls_comp;BINARY
nls_length_semantics;BYTE
nls_nchar_conv_excp;FALSE
select parameter,value from nls_database_parameters;
PARAMETER;VALUE
nls_rdbms_version;12.1.0.2.0
nls_nchar_conv_excp;FALSE
nls_length_semantics;BYTE
nls_comp;BINARY
nls_dual_currency;Kr.
nls_timestamp_tz_format;DD.mm.rrrr hh24.mi.ssxff tzr
nls_time_tz_format;HH24.mi.ssxff tzr
nls_timestamp_format;DD.mm.rrrr hh24.mi.ssxff
nls_time_format;HH24.mi.ssxff
nls_sort;NORWEGIAN
nls_date_language;NORWEGIAN
nls_date_format;DD.mm.rrrr
nls_calendar;GREGORIAN
nls_numeric_characters;,
nls_nchar_characterset;AL16UTF16
nls_characterset;AL32UTF8
nls_iso_currency;NORWAY
nls_currency;kr
nls_territory;NORWAY
nls_language;NORWEGIAN
Spfile CDB showing:
*.nls_language='AMERICAN'
*.nls_territory='AMERICA'
So why does PDB NLS_DATABASE_PARAMETERS differs from the CDB?
|
|
|