Introduction
Oracle Database is a commercial database with the highest market share. With the intelligence of Oracle management tools, such as Oracle em provides powerful management and tuning functions, oracle DBA management tends to be
Common Oracle commands-manage password security and resources)
1. Controlling account lock and passwordSQL> alter user juncky identified by Oracle account unlock;
2. user_provided password FunctionSQL> function_name (userid in varchar2 (30),
Required software:
VMware Workstation
Oracle-xe-univ-10.2.0.1-1.0.i386.rpm: 250 m
Oracle9i310_simplified client (easy to use)
Plsqldeveloper or toad
1. install Linux with Vmware (centos is preferred for Redhat UBUNTU)
2. If Oracle is
1. The default username of Oracle 10g, sysman. The password is entered at the beginning of Oracle installation.
2. When the user em starts the database, it encounters: remoteoperationexception: Error: Wrong Password for user:
The solution is as
Today, I opened the Enterprise Manager and found that each user has two additional stored procedures: dt_dropuserobjectbyid and dt_setpropertybyid.
Answers found in the itpub Forum:Http://www.itpub.net/155276.html
It turned out that I directly
Oracle9i introduces the merge command, you canSQLStatement to execute the inserts and updates operations on a table at the same time. the merge command selects rows from one or more data sources to update or inserting to one or more tables. in
Understanding Oracle connections and sessions
1. different concepts:
A connection is a physical network connection.
Establish a session between the client and Oracle on the established connection. Later, the interaction between the client and
Common Oracle commands-log management
1. view log filesSyntax: select Member from V $ logfile
1. Forcing log SwitchesSQL> alter system switch logfile;
2. Forcing checkpointsSQL> alter system checkpoint;
3. Adding online redo log groupsSQL>
Partition
And
Partition by... order
Usage differences, just used, confused
Example: Table t
A B C
1 43
2 33
3 10
Use
Partition:
When using rank (), use order
Select rank () over (partition by C order by B desc) as rank, C, B,
Problem description: My colleague said that an SQL statement on PLSQL has been being executed. To be disconnected, the PLSQL process cannot be disconnected. Therefore, the PLSQL process is simply closed. Later, I wanted to check whether the process
Oracle deletes a column of duplicate rows in the table
Table Name: T4
Create Table Test. T4(ID number (10 ),Firstname varchar2 (50 char ),Lastname varchar2 (50 char))
The ID is the primary key, and all rows with duplicate IDs are deleted (no matter
This problem has plagued me for a while, and I searched it online. I didn't find anyone who actually solved it. There has been no class-test problem in operating Oracle databases using the nhib.pdf packaged in spring.net in the project. However,
A storage function is a named PL/SQL block. It can accept parameters and can be called. Generally, a function is used to calculate a value.
A function has a similar structure with a process, but a function must return a value to the main call
In the past two days, after processing sqlserver, you can connect to the server to connect to the Oracle database to write data to the Oracle database,
In the SQL Server Stored Procedure,
Begin tran
Insert oracle .....
Commit;
When the SQL Server
It took me a long time,
First, if you have the permission to change the database settings, the problem does not exist. However, in most cases, the database settings cannot be changed, because other programs may also be retrieving data from this
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