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
Welcome to the Oracle community forum, and interact with 2 million technical staff to enter the oracle database character set taiwen warehouse receiving question. Today, the imported database field content is taiwen data, which is always displayed
There are many things worth learning about in Oracle. Here we mainly introduce the character set of Oracle databases, including the national character set. Oracle Database character set (NLS supported by national languages) is used to store, process,
1. Querying the character set of the Oracle server sideSql> select userenv (' language ') from dual; USERENV (' LANGUAGE ')----------------------------------------------------American_america. zhs16gbksql> or
What is an Oracle character setAn Oracle character set is a collection of symbols that are interpreted by a byte of data, having a size and a mutual containment relationship.Oracle's support for the national language architecture allows you to use
1. Change the database character set to GBKSHUTDOWN IMMEDIATE;STARTUP MOUNT EXCLUSIVE;ALTER SYSTEM ENABLE RESTRICTED SESSION;ALTER SYSTEM SET job_queue_processes=0;ALTER SYSTEM SET aq_tm_processes=0;ALTER DATABASE OPEN;ALTER DATABASE National
Modify the Oracle database character set to UTF8 to view the character set select userenv ('language') from dual; 1. conn/as sysdba 2. run the following code: shutdown immediate; startup mount exclusive; alter system enable restricted session; alter
Oracle changes database character set encoding UTF8 first: connect sys/orcl as sysdba; www.2cto.com shutdown immediate; startup mount; alter session set SQL _trace = true; alter system enable restricted session; alter system set job_queue_processes =
The character set is accidentally not changed when the database is installed today (oracle10.2.0.4), leading to garbled interface because the rac environment is not the same as that of a single instance.Http://blog.csdn.net/rulev5/article/details/702
Today in the deployment of a system, the page appears garbled. So all kinds of Baidu (have been used in the same way before, but did not affect the use),Let's do an experiment.This server system is Centos6.3,lamp environment all with yum
1. Operating system: CentOS6.62. Database system: Mysql3. Task: Solve the problem of garbled data1) Change the character set of the client GBKClient character set setting, set names GBK, this ensures that the inserted Chinese, does not appear
Sql> alter system set Cluster_database=false scope=spfile sid= ' qcjk1 '; --------Note that SIDs are modified according to different environmentsTo shut down the database on the RAC two node:Sql>shutdown immediate;On the Rac1 node, start the
1> Database Server Character SetSELECT * from Nls_database_parameters, which is derived from props$, is the character set representing the database.The query results are as followsNls_language
Data migration in different databases, exchange of data with other systems, and so on, often because of different character sets cause migration failure or data in the database into garbled. Now I'm going to make a simple summary of some of the
1. View the database character set Client Character Set environment select * from Nls_instance_parameters, which originates from V$parameter, represents the setting of the client's character set, possibly a parameter file, an environment variable,
When we log in to the Oracle database, we encounter the message: "The database Character set (AL32UTF8) and the client character set (2%) are different."This is due to inconsistent character set between the database server and client, the server
First KindFirst, modify the My.ini configuration file (MySQL configuration file)Character_set_server = UTF8 #设置字符集Restart MySQL database serviceView the current database character setShow VARIABLES like ' character% ';Second, modify the database
Common scenario: When backing up an Oracle database from the server and restoring the Oracle database on the local machine, you often encounter inconsistent database character encoding, and can use the following command to change the local Oracle
Unified Character Set guaranteed not garbled: suggested Chinese and English environment Choice UTF81.Linux system language /etc/sysconfig/i18nLang= "Zh_cn.utf8"2.mysql client Temporary:Set names UTF8;Permanent:configuration file
Database Character Set encodingYour database and JDBC data source connections must be configured to use UTF-8 encoding (or to develop the correct UTF-8 coded character set based on the database you have configured, such as Al32utf8 in Oracle). There
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.