If the Oracle database table contains a Date Field, assume that the field name is time, the date to be inserted is now, now is in string format, and the value is "1900-01-01 ", the following statement fails to insert data:
String. Format ("insert
SQL optimization is complex and restricted by the environment. However, the minimum principle for writing SQL statements during development is as follows:
1. oracle uses the bottom-up sequence to parse the WHERE clause. According to this
This article describes the concepts and operations of partition tables from the following aspects: 1. table space and Partition Table concept 2. table Partition Function 3. advantages and disadvantages of Table Partitioning 4. table partition types
I encountered some problems when I first learned how to connect to the Oracle database using java the day before. I posted a post on the Internet for help, searched for similar problems, and explored with my classmates. Finally, I solved the problem,
% Rowtype in Oracle:
% Rowtype: indicates that this type is the row data type. It is stored as a row of data. A row has many columns, which is equivalent to a row of data in the table or a row of data in the cursor.
% Rowtype is used to query
There are a lot of Oracle processes in the top process of the IBM p570 dB host. I don't know why, the memory is all eaten, and the CPU idle is 0,
The swap zone is almost used up.
Who, or which program is so powerful? The two computers can be killed.
About arrays in Oracle: record the same setThe set can be implemented in three ways:1. Use varray to customize a type to obtain an array. However, you can only define the basic type as follows:Create type name as varray of varchar2 (20 );
1. Use
1) set whether the current session will automatically submit the modified data: Set auto [Commit] {on | off | Imm [ediate] | n}SQL> set autocommit off
2) When you use the start command to execute an SQL script, whether to display the SQL statement
When the machine on which Oracle is installed changes the machine name or IP address. Then the original dbconsole cannot start.
Or an error is reported when running emctl start dbconsole in DOS. Solution:
1. Modify the Dbsnmp password:
To
Generate primary key values using sequences.
Sequence is a database object that can be used by multiple users to generate a series of unique numbers. Sequence definition is stored in the data dictionary. You can use sequence to automatically
2.9. Run the script (orainstroot. SH and root. Sh)
Execute the orainstroot. Sh script in sequence on each node (execute the node where the CRS software is installed first ):
[Oracle @ Rac1 ~] $ Su-Root
Password:
[Root @ Rac1 ~]
(1) log on to MySQLC:/Documents and Settings/Administrator> mysql-H localhost-u root-PEnter Password :*****Welcome to the MySQL monitor. commands end with; or/g.Your MySQL connection ID is 69Server version: 5.0.51a-Community-nt MySQL Community
I 've been playing Oracle for almost two years. I 've been sorting out Oracle-related technical articles. I used to learn J2EE and went to training institutions for a year, at that time, I thought it was just about development, but it turns out
1. Determine whether the record contains Chinese Characters
You can use the length and lengthb functions. This is explained in the blog:
Description of Oracle length and lengthb Functions
Http://blog.csdn.net/tianlesoftware/article/details/6863797
Each block in Oracle has a part called ITL, which is used to store transaction information. For more information about ITL, see:
Inclueitl (Interested Transaction list) Description
Http://blog.csdn.net/tianlesoftware/article/details/6573988
The
RMAN> startup nomount;
RMAN> SQL 'alter session set nls_date_format = ''yyyy-mm-dd hh24: MI: s ''";-- Because RMAN reads the time format using environment variables by default, which is different from the fixed format of sqlplus, you must set the
1. Rebuild index and parallelism description
In the previous blog, I sorted out some index-related blogs:
Oracle index details
Http://blog.csdn.net/tianlesoftware/article/details/5347098
How to speed up index
When starting the database, we may encounter the following errors:
ORA-1122: database file % s failedverification check
A ORA-1110: datafile:
ORA-1207: ora 1207 file is more recent thancontrol File
The main reason for the ORA-1207 is that the
1. materialized view Overview
The Materialized View of Oracle is a database object that includes query results. It is a local copy of remote data or is used to generate a summary table based on the sum of data tables. Materialized View stores data
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.