today we are going to do a query function: Query A user's department, and include all of the department's parent department information. Accidentally found a way to make a note. Share to the same rookie as me, hahaQuerying child nodes*2 from
1. Insert
' soft ' ' Guangzhou ');
' software test ');
where deptno = 20;
2. Delete
where deptno = 20;
Delete from dept;
3. Modification
' ^.^ ' where deptno = 20;
4. Business
Each modified statement can
Experiment two: Data manipulationExperimental Hours:4 hoursExperiment Type: Comprehensive typeExperimental requirements: CompulsoryFirst, the purpose of the experiment1, master SQL data query statement;2, master the use of SQL aggregation function;3,
After Oracle is installed, there is a default database in which we can create our own database, in addition to the default database.For beginners, to avoid trouble, you can create a database with the ' Database Configuration Assistant ' Wizard.After
As the company needs to install Oracle EBS for form development, it begins the painful process of Oracle EBS installation. In the beginning is installed in the VM Win2003 server EBS, I do not know whether my own level is too poor or bad luck,
Master key constraint, FOREIGN KEY constraint, uniqueness constraint, check constraint, default value constraint-—————— five constraintsFirst, the primary key constraint;--Create a PRIMARY KEY constraint for the tableCREATE TABLE Student (student_id
--undo Table Space Summary--View all table space namesSelect name from V$tablespace;--Create a new undo table space and set the auto-expand parameters;Create undo tablespace undotbs2 DataFile ' D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS02. DBF '
The wildcard characters for Oracle, operators are typically present in the WHERE Condition clause:
Operator:
equals: =, , >=, <>
Contains: In, not in, exists, not exists
Range: Between...and, not Between....and
Match
Oracle Memory ArchitectureThe basic memory structures associated with Oracle instances include:System global Area (SGA): shared by all server processes and background processesProgram Global Zone (PGA): dedicated by each server and background
In the Oracle database, a control mechanism called "transaction" is provided. Through the thing, can complete the data effective security modification operation, causes the data in the database to achieve the data consistent state. A transaction can
--Confirm Current CDB Sql> select name,cdb from V$database; NAME CDB------------------------ORCL YES --Query the current PDB basic information Col pdb_name for A30select Pdb_id,pdb_name,dbid,status,creation_scn from Dba_pdbs;select
The creation of the job will not say, very simple, here is the main point is not in accordance with the specified time automatic implementation of the problemWorkaround:1. Run the jobbeginDbms_job.run (1);//Indicates the job number, which can be
OR causes Cartesian Product
Recently, I monitored the database and found that the following statement ran very slowly. The original execution plan went through, resulting in Cartesian Product. Let's look at the following statement:
SQL> explain
EBS base-Table suffix and ebs base suffix
1. _ ALL or no Suffix: base table. ALL data operations are performed on the base table. The table contains information of ALL different business units and multi-organizational environments.
2. _ B/_ T: it
Oracle Chinese garbled solution summary, oracle garbled Solution
AMERICAN_AMERICA.WE8ISO8859P1, this character encoding is the Western European character encoding, corresponding to. Net is the iso-8859-1 character encoding, so only need to change to
Oracle10g11grac Virtual Environment SwitchOracle 10g 11g rac is installed on a personal virtual machine. The following is a switchover script command.#10g rac> 11g rac ********************************
Single-row functions of oracle reinforcement exercises
1. dname AND loc are separated-
Select dname | '-' | loc From dept;
2. Fill the team name with 10 digits left
Select lpad (dname, 10) From dept;
3. Replace the employee's name'
Select replace
Adjust the size of redologfile in oracleracAdjust the size of the redo log file under rac(1) view the current log information:Select * from v $ logfile;(The path in step 2 can be seen in the MEMBER column here. The redo file name is named by
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