oracle| Data | database
Database import between Oracle817 versions of different character sets
For business reasons, it is necessary to import an English character set (AMERICAN_AMERICA.WE8ISO8859P1) database dmp file into a Chinese character set
background :Development language: C #Development tools: VS2010A-party Oracle database: Chinese Character setB-party Oracle database: English Character setDelivery Mode: WebService method (take data, and put the extracted data into the DataTable,
code block templates for OracleDeclare--Declaring variablesBegin--Execute business logicexception--Exception handlingEnd--EndNote: The code block will have a colon at the end of each SQL statementeg--plsql code blocks inserting data into the
Oracle's common performance monitoring SQL statementsFirst, query the history of sql:---The SQL statement being executed:Select A.username, A.sid,b.sql_text, B.sql_fulltextFrom V$session A, V$sqlarea b where a.sql_address = b.address;---Query the
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
Sqlplus system/[email protected]; View Oracle Character set: SELECT * from nls_database_parameters where parameter = ' Nls_ CHARACTERSET '; C, server-side character Set Modify ***************************************************************** *
solving the problem of importing garbled sqlldr Processing process: 1, the local establishment of control files load datainfile ' d:\TMP_KAITOUSHUJU.csv ' into the table Tmp_kaitoushujufields terminated by ', ' (trade
Modifying the Oracle Character setMethod/Step
Character set changes for Oracle databasesA, Oracle server-side Character set querySelect Userenv (' language ') from dualWhere Nls_characterset is the server-side character setNls_language for
To_date ("String to convert", "converted format") The format of the two parameters must match, otherwise it will be an error. That is, the first argument is interpreted in the format of the second parameter.To_char (date, "convert format") converts
1. Conversion functionThe most significant relationship with the date operation is two conversion functions: To_date (), To_char ()The To_date () function converts a character type to a date type in a certain format:Specific usage: to_date (' 2004-11
ProblemThese two days just plsql and Oracle configuration, but in the plsql to insert data, there is a problem, the table in Plsql cannot display Chinese, Chinese cannot save, cannot output, Chinese display question mark in the table,ReasonAfter
Common scenario: When backing up an Oracle database from a server to a local machine to restore an Oracle database, you often encounter inconsistent database character encoding, you can use the following command to modify the local Oracle Database
Add to Oracle User's ~/.bash_profilenls_lang= "Simplified Chinese" _china. Zhs16gbkExport Nls_langThen save the exit,SOURCE ~/.bash_profileLogin again Sqlplus garbled on the lost.Note: The specific values of Nls_lang are modified according to the
1. Cause of Error:The date type cannot contain precision after seconds.As Date: 2010-01-01 20:02:20.0Workaround: Remove the precision after the date seconds, To_date (substr (invoice_date,1,10), ' Yyyy-mm-dd ')If Date: 2010-01-01 20:02:202. INSERT
IamlaosongBecause of the use of MD5 encryption, so on the Internet to search the relevant information, and conduct a careful study. The core is the MD5 encoded packet function:dbms_obfuscation_toolkit. MD5, where the raw type is concerned, is
SQL Character Segmentation: SQL Character Segmentation
For oracle, character string splitting is often encountered during string processing. Unfortunately, the SQL statement does not contain the split function. This is quite confusing for us to
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
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
Oracle Database error ORACLE not available solution the following Error occurs when running commands such as exp, imp, or sqlplus: EXP-00056: ORACLE error 1034 encounteredORA-01034: ORACLE not availableORA-27101: shared memory realm does not
Oracle date functions are already available on the Internet. Let's focus on it to avoid your troubles.
Oracle date functions are already available on the Internet. Let's focus on it to avoid your troubles.
In the development of oracle databases,
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.