Oracle consumes a lot of system resources. Therefore, we can stop related services without using Oracle and enable them manually when using Oracle.
Oracle 10g service enabling sequence◦ Tnslistener◦ ISQL * PlusMovie service each time a database
Share two SQL statements
1. regexp_replace supported by Oracle SQL
SQL> select regexp_replace ('fuck', '(.) (.)', '/123') from dual; Regexp_replace ('fuck ','(.)(------------------------------Ufkcy UO
(Haha)
There are two letters in a pair.
This type of requirement is usually met in Java development. If a piece of data already exists in the table, update it. If it does not exist, insert new data.
If you do not use the merge syntax provided by Oracle, you may first need to query the
The process is as follows:
SQL> show user;User is "sys"SQL> create user test identified by test;
User Created.
SQL> Create Table Test. t (ID INT );Create Table Test. t (id int)*Error at line 1:ORA-01950: no privileges on tablespace 'users'
Cause:
When Oracle 11g R2 is installed in Windows 7, the system prompts that the em. Ear file cannot be found when it is installed to 45%. If you click Continue, other errors will occur, and the installation will fail.
Check the file and find that another
1. Unable to save adding a listener
Solution: Set the computer user permissions to a minimum and restart the computer. (Control Panel \ User Account and home security \ User Account \ Change User Account Control settings)
2. When configuring
As far as the database itself is concerned, Oracle can be divided into two main parts:
1. Oracle instanceOracle instance refers to the memory and related processing of the database server.Program.
2. Oracle Database FilesDatabase files are
When you access a table, an error similar to the following occurs:ORA-01578: Oracle data block upted (file #6, block #344)ORA-01110: data file 6: 'd: \ oracle \ product \ 10.2.0 \ oradata \ orcl \ test. DBF'The reason is that the data file contains
After oracle is installed in windows, some services will be created in windows, such as oracleoradb10g_home1tnslistener, which is used to listen to the Service port and oracleserviceorcl related to the instance to start the instance.
No dirty reads occur. User A has updated the table and has not submitted the table. User B queries the table. unsubmitted updates cannot appear in the user's query results.
Instance simulation: the data in the test table is as follows:
1. User a
OracleThe keyword used in MSSQL similar to top is rownumber. The usage is as follows:
Select firmcode, balance from (
Select
Rownum
RN, T. firmcode, T. Balance
From firmbalance_tab
Document directory
Oracle learning Summary (1) --- rowid
Oracle learning Summary (1) --- rowid
We often encounter rowid in Oracle. This article is a summary of my own learning experience based on my articles about prawns on the Internet.I. rowid
1. Create a test table
Create Table g_test
(ID number (12 ),C_date date
);
2. Create a stored procedure
Create or replace procedure prc_g_test isBeginInsert into g_test values (seq_cam_action_id.nextval, sysdate );End prc_g_test;
3. Create a
The third log file in the log group is lost due to accidental operations.SQL> Conn/As sysdbaConnected.
SQL> startupThe Oracle routine has been started.
Total system global area 85006980 bytesFixed size 453252 bytesVariable Size 58720256
Performance Analysis of paging writing and supplementary description of rownum
I. Data preparation before testing
SQL> SELECT COUNT(*) FROM BPM_PROCVAR; COUNT(*)---------- 2121400
Ii. Paging writing
1. Paging method 1
SELECT * FROM (SELECT
Problem description:
Oracle source table can store"Chinese test"Four Chinese characters, but after being extracted and written to the target table of the same structure by powercenter, the Chinese characters are truncated to two Chinese
In database development and maintenance, the data types most frequently accessed by the database administrator are character types, including string and date string. In the Oracle database, to help the databaseAdministrators can process data of
This article describes two sample codes for configuring the connection between Oracle and MySQL using "c3p0 ".You can make corresponding modifications based on your actual situation.
1. Connect to the Oracle database
Oracle10g em adopts the web method and is divided into two products: Database Control and grid control. This section describes how to create a single data dbcontrol. To install grid control, download a separate CD.
When using dbca to create a
Document directory
Feedback
I. Preparation steps
Obtain the Oracle 10g installer or download the CD image from the Oracle technical network (OTN. During the evaluation phase, you can download and use full-featured oracle without technical
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