Char fixed length character fields, up to 2 000 bytes
The fixed-length character field of the nchar multi-byte character set. The length varies with the character set. It can contain a maximum of or characters.
Varchar2 can contain up to
Reference:
For example, an External table is created here, as shown in:
Comparison:
1. In SQL, we can only use the case functions,CodeAnd the results are as follows:
Select name,Case subjectWhen 'China' then 1When 'mate' then 2When
After completing the training, Master Zhou immediately ran to another brother organization to solve the problem. I really admire Master Zhou.
Brother organizations have encountered two difficult problems. A primary key repetition error is reported
[1. transaction isolation]
① Changes made by an uncommitted firm cannot be viewed by other firms. Only when the transaction is committed successfully can other transactions executed after the transaction be able to see the changes made
To_date format
Day:Dd number 12Dy abbreviated FriDay spelled out FridayDdspth spelled out, ordinal twelfth
Month:
MM number 03
Mon abbreviated MAR
Month spelled out March
Year:
YY two digits 98
Yyyy four digits 1998
The time range in
1. Copy the table structure and data:
Create Table table_name_new as select * From table_name_old
2. copy only the table structure:
Create Table table_name_new as select * From table_name_old where 1 = 2;
3. Copy table data only:
1. Install Oracle client 9 and modify the tnsnames. ora file under c: \ oracle \ ora90 \ Network \ admin:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
# Tnsnames. ora network configuration file:
From Oracle database products, from oracle2.0 (without 1.0) to oracle7.3.4, it is only a simple version number. However, from oracle8, database product feature identifiers such as Oracle8i and 9i appear, internet stands for "I", indicating that this
Purpose: return the specified data column values of multiple records in a data table at intervals of commas.
Select decode (v_value_type, '01', wm_concat (order_code ),'02', wm_concat (to_char (order_date, 'yyyy-mm-dd ')),'03', wm_concat (TRIM
Recently, an array is used in a process to store a series of values.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 Declare Type ln_mon_plan_value_varray Is Varray ( 20 ) Of
Oracle's solution is to_date () and 24-hour notation and the display of MM minutes:
1. When Oracle's to_date function is used for date conversion, many
Program Like me, the engineer may intuitively convert the format "yyyy-mm-dd hh: mm: SS", but it
Oracle series: ref cursor
In the Oracle series: cursor (see:Http://blog.csdn.net/qfs_v/archive/2008/05/06/2404794.aspx)Think about it: How to pass a cursor as a parameter? To solve this problem, you need to use ref cursor.
1. What is
If you encounter a requirement in the project, you need to merge multiple rows into one row.
The table structure is as follows:
Name null type
--------------------------------------
N_sec_code not null char (6)
C_researcher_code not null varchar2 (20
---- Three default users
1 Sys change_on_install[As sysdba] //Highest System Administrator2 System manage//Local administrator3 Scott Tiger//Common User
---- Create a user
Create UserLeap identifiedBy 1234 //Set the leap user password to 1234.
Overview: profile is a set of commands for password and resource restrictions. When a database is created, Oracle automatically creates a profile named default. When the created user does not specify the profile option, oracle will automatically
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
# Region
Extract Function
String soraconnection = "Data Source = sh2.chs. cyw.rik. com; persist Security info = true; user id = Doc;
Transaction processing is a key issue for all large database products. database vendors have spent a lot of energy in this aspect, different transaction processing methods may cause huge differences in database performance and functions.Transaction
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service