Data constraint type
Oracle constraint belongs to an object of database
In order to facilitate the maintenance of constraints, Oracle saves all constraints as independent database objects, and these information are also stored in the data dictionary, so each constraint needs its own noun to maintain.
When the user does not set a name for the constraint, the sys ...
Posted by lowspeed on Mon, 15 Apr 2019 11:03:32 -0700
Oracle to MySQL Database Migration--Primary Key Generation Policy Replacement
A major difficulty in migrating Oracle database to MySQL database is the replacement of the primary key generation strategy. If Oracle's Sequence mechanism is used in previous programs to achieve the primary key self-increment, it is necessary to use TableGenerator for equivalent replacement in MySQL.
When replacing, there are three main area ...
Posted by phpnewbie8 on Fri, 12 Apr 2019 21:27:31 -0700
Using flip-flops to realize id self-growth
How to achieve id self-growth after inserting data
Reference Blog: http://www.cnblogs.com/hyzhou/archive/2012/04/12/2444158.html
ORACLE SEQUENCE Usage
In oracle, sequence is the serial number, which increases automatically every time it is taken. Sequence has nothing to do with tables.
1,Create Sequence
First, you need to have CREATE ...
Posted by jhlove on Fri, 12 Apr 2019 12:15:32 -0700
Block recovery based on RMAN
This paper refers to: Le Shami's World
For physically damaged data blocks, we can complete the recovery of damaged blocks through the RMAN Block Media Recovery (BLOCK MEDIA RECOVERY) function without requiring the whole recovery. data base Or all files to repair these small amounts of damaged data blocks. Restoring the entire database or ...
Posted by walkonet on Mon, 08 Apr 2019 12:39:30 -0700
What to do after installing Ubuntu
JDK
Installation using PPA source mode:
Add PPA
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
Install oracle-java-installer
// JDK7
sudo apt-get install oracle-java7-installer
// JDK8
sudo apt-get install oracle-java8-installer
Installer will prompt you to agree to oracle's terms of service and select ok
Then sel ...
Posted by algarve4me on Fri, 05 Apr 2019 20:45:31 -0700
oracle series notes (2) - - multi-table query
multi-table query
This article mainly talks about four points:
(1) oracle multi-table query (2) join query of SQL99 standard (3) sub-query (4) hierarchical query
There are two ways of Oracle multi-table query, one is oracle's unique query mode, the other is SQL99 standard join query, and it is a general multi-table query.
1. Oracle Connection
E ...
Posted by sp2hari on Thu, 04 Apr 2019 10:03:30 -0700
ORA-03113: File End of Communication Channel
From --------------------- http://blog.csdn.net/zwk626542417/article/details/39667999
origin
Today, as usual, landing PL/SQL did fail. An error "ORA-01034" and "ORA-27101" appeared as follows:
Then it logs in through a command prompt. Oracle To see what's going on, and then the problem goes on, the e ...
Posted by lulon83 on Wed, 27 Mar 2019 16:09:32 -0700
Net Programmers Learn Oracle Series (14): Subquery, Collection Query
1,Subquery
1.1,Introduction to Subqueries
1.2,WITH Subquery
2,Aggregate query
2.1,UNION and UNION ALL
2.2,MINUS
2.3,INTERSECT
2.4,Set Operations and ORDER BY
3,DISTINCT clause
3.1,General usage
3.2,Parameters for aggregation functions
4,summary
1. Subquery
1.1. Introduction to Subqueries
A sub-query is a query nested in SE ...
Posted by harmor on Mon, 25 Mar 2019 17:51:30 -0700
Basic Skills of Oracle's Prelude of PL/SQL Programming
Oracle's Basic Skills for Preluding PL/SQL Programming
1 > Write package specifications and packages, which contain stored procedures and functions.
create or replace package emp_action_pkg is
v_deptno number(3):=20;
-----Define a process for adding employees
procedure newdept(
p_deptno dept.deptno%Ty ...
Posted by Sphynx on Thu, 21 Mar 2019 14:24:51 -0700
ORA-279 signalled during: alter database recover logfile
During the RECOVER restoration process of RMAN, the RMAN interface is normal, but the alarm log is checked and refreshed. It is found that there is ORA-279 in the alarm log, as follows:
alter database recover logfile '/u06/archivelog/2019_02_19/o1_mf_1_16228_g6oznpbv_.arc'
Thu Feb 21 08:49:48 CST 2019
Media Recovery Log /u06/archivelog/2019_ ...
Posted by delassus on Thu, 28 Feb 2019 20:51:22 -0800