Recently, Oracle RAC on HPUX was implemented because serviceguard first read the documents three days in advance to build a car by closed doors.
Getting started at the site also removes some questions about reading documents, which may be the same
1. query the list of log files used:Select * from V $ log;
2. query the log files of the Group in use:Select * from V $ logfile;
3. Force log switching:Alter system switch logfile;
4. query historical logs:Select * from V $ log_history;
5.
Http://easyui.btboys.com/oracle-sort-on-null-value-processing.html
The default null value sorted by order by in Oracle is the largest, which is placed before all data. However, in most cases, we want the null value to sink to the end. In this
I. Define a primary key as an Automatically increasing identifier type
In MySQL, if the table's primary key is set to auto_increment type, the database automatically assigns a value to the primary key. For example:
Create Table MERs (ID int auto_
Oracle has three default customers
1. sys password change_on_install [as sysdba] 2. system password manager3 and Scott password tiger login with cmd: sqlplus/As sysdba
Create user: create user xiaokuidentified
Xiaoku; grant session permission: grant
I want to train the basic engineer. I don't want to write a simple query statement when I don't want to work.
Create Table Test (name varchar2 (16), age Number (3), birth date)Select * from testSelect * from EMPSelect ename, Sal, Sal * 12 + 100 from
(Summary of the use of oracle9/10g, some SQL statements are practical)
------------- Step 1: Oracle Startup Process -----------In the window:
Start a database instanceOradim-startup-Sid orcl (database instance name );Shut down database
The business secrets contained in Oracle stored procedures are sometimes unwilling to be seen by third-party personnel. They can be achieved through encryption of stored procedures.
There are two methods to encrypt the stored procedure: here we will
The following code is available:
Declare
--Query EMP.Name
Cursor cur_emp
Is
Select empno,Ename,Job
From EMP
Where empno=7369
ForUpdate of ename;
Begin
ForReturn_cur in cur_emp
Loop
Update EMP
Set ename='Lhg'
Where current of cur_emp;
End
It should be noted that both PhP4 and PhP5 have function numbers that can be connected to the Oracle data volume and query the result set. However, some function numbers can only be used in PhP5, so if the PHP environment is PhP4
First, you must
[Export with exp data ]:
1. Export the database test completely, and use the User Name System Password Manager to D:/daochu. dmp.Exp system/manager @ test file = D:/daochu. dmp full = y
2. Export the tables of system users and SYS users in the
The two different database servers read data from one user on the same database server. In this case, you can use dblink.
In fact, dblink is similar to the view in the database. When creating dblink, you need to know the IP address, SSID, and
Send an email using utl_smtp of Oracle. The same statement is tested on the front-end. When SQL plus is entered, an error is returned:
ORA-29279: SMTP permanent error 5.5.4
After checking for half a day, I finally found it on Metalink. For such an
Find apply the patch & Mini Patch: Select patch_name, patch_type
From ad_applied_patches
Order by creation_date
-----------------------2644657 one-off2641718 one-offSelect app_short_name, max (patch_level) as patch_level
From applsys.
Emca has an error and needs to be rebuilt, but the prompt is repository already exists.
....
Do you wish to continue? [Yes/No]: Yes
APR 15,200 8 1:38:59 oracle. sysman. emcp. emconfig checkconfiguration
Severe: Repository already exists. Fix the
1. About Bare Devices
1.1 What is a raw device)
A bare device is a raw partition or raw logical volume that has not been created for a file system.
Character device driver to access it. How to read and write data on the device depends on the
Modify
Dbsnmp
Password
1.Stop em
Emctl stop dbconsole
2.Check if Em has been stopped
Emctl status dbconsole
3.Use sysUser Login sqlplus, Use the command to change the password
Sqlplus/As sysdba
alter user dbsnmp identified by ;
4.Verify
Recently, I checked a Linux server and found that the hard disk space has been used for 95%. I am very confused. Why? Is the database file too large?
Filesystem size used avail use % mounted on/Dev/mapper/VolGroup00-LogVol00131 GB 118g 6.4g 95%//Dev/
Disclaimer: This article is a summary of my experience (iihero @ csdn) Exploring and learning Oracle databases. The method or process can only be used for development and learning and cannot be used for commercial product release, the offenders are
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