1. Change the database character set to GBK
SHUTDOWN IMMEDIATE;
STARTUP MOUNT EXCLUSIVE;
ALTER systemenable restricted session;
ALTER Systemset job_queue_processes=0;
ALTER Systemset aq_tm_processes=0;
ALTER Databaseopen;
ALTER DATABASE National
First look at the Oracle database encoding
Sql> SELECT * from nls_database_parameters where parameter = ' nls_characterset ';
PARAMETER
--------------------
VALUE
--------------------
Nls_characterset
Al32utf8
This is derived from props$,
Oracle's coding has always been a very important issue, has been summed up before, but have forgotten, today to write again here.
First look at the Oracle database encoding
Sql> SELECT * from nls_database_parameters where parameter = '
1, change the client character set: run regedit through Windows Run menu, modify registry
Start-> Run-> rededit
Under Registry Editor-> HKEY_LOCAL_MACHINE-> SOFTWARE->oracle->key_xe->right WINDOW DOUBLE CLICK Nls_la NG-> Change VALUE to
The character set and service side of the Oracle client are consistent, otherwise there will be garbled problems. changing the client character set
To connect to a server, you can query client settings:
SELECT * from V$nls_parameters;
Set
Solution:
1. After the installation of Oracle, first to modify the character set.
To modify the character set, use the command-line line to log on to Oracle, and then use Sqlplus to connect to Oracle, at which point configuring the Oracle profile is
Preparation before installation:
ORACLE11GR2 installation media;
Sufficient disk space and memory for the Linux system;
Linux systems need to have fixed IP;
XMANAGER5 (graphical installation required);
Dependency packages can be
Modify the character set on top of Oracle, you need to use the DBA database administrator's permissions, and then modify the character set to note that the modified character set can only be larger (for example: The current character set is GBK,
CommandDescriptionCrsctl start hasStart the database has service.CRSCTL Stat res-tCheck the status of each service (DG, monitor, asm instance, etc.) in ASM.SRVCTL Status ASMView the ASM instance state, normally the ASM instance of the master standby
1, change the client character set: run regedit from the Windows Run menu, modify the registryStart, Run, Rededit Under registry Editor-> HKEY_LOCAL_MACHINE-Software->oracle->key_xe->right WINDOW DOUBLE CLICK Nls_la NG-and change-VALUE to
Command: IMP database user name/password @127.0.0.1:1521/orcl file=d:\txpt20150424.dmp full=y If the above command appears with the following error message IMP-00058: Encountering ORACLE error 12514Ora-12514:tns: Listener currently does not
before the development of the time, we are all using SQL Server,.net development, has been using no problem, but recently developed with the Oracle, originally developed a good, method written also no problem, but once again installed a system, I
Oracle view encoding and modify encoding first view the oracle database encoding SQL> select * from nls_database_parameters where parameter = 'nls _ CHARACTERSET '; PARAMETER--------------------VALUE--------------------NLS_CHARACTERSETAL32UTF8 which
The Oracle character set is a collection of symbols for the interpretation of byte data. It can be divided into different sizes and have an inclusive relationship. ORACLE supports the national language architecture to allow you to use localized
Start and Stop services at oracle11g, modify character sets, import and export, create and delete tablespaces, and uninstall oracle. [start and stop the service] // start and stop listening for www.2cto.com lsnrctl start; lsnrctl stop; // start and
Oracle DatabaseView and modify the serverCharacter SetThe method is described in this article. Let's take a look at this part.
A. oracle server Character Set Query
Select userenv ('language') from dual
The NLS_CHARACTERSET is the server-side
ORA-12899 when racle 11g impdp (16:42:12)
ReprintedBytes
Label: Oracle imp impdp it
Category: Oracle technology-development
The source database zhs16bgk contains Chinese Characters
DatabaseThe destination database utf8 is used for
What is nls_lang?
Nls_lang is an environment variable used to define the language, region, and Character Set attributes. For non-English character sets, the setting of nls_lang is very important.
NLS: 'national Language Support (NLS) 'when we set
1. What is the Oracle character set?The Oracle character set is a collection of symbols for the interpretation of byte data. It can be divided into different sizes and have an inclusive relationship. ORACLE supports the national language
The command is as follows:
SQL> conn sys/sys as sysdba;SQL> shutdown immediate;SQL> startup Mount;SQL> alter session set SQL _trace = true;SQL> alter system enable restricted session;SQL> alter system set job_queue_processes = 0;SQL> alter system
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.