Oracle Chapter 13th when one query relies on another query

Advanced subquery subquery (subquery)Knowledge Point one: the relationship between multi-table joinsFor example, want to know which kind of books have been lent out.Select DISTINCT C.parent_catagory, c.sub_categoryFrom category C, Bookshelf b,

Oracle stored procedure split code implementation

To implement string segmentation, the algorithm is as follows:Algorithm 1:DECLARERemove_column myvarray_list; Xvarchar( +); Subvarchar( +); I Number; J Number; C Number; Rcount Number;BEGINRemove_column:=Myvarray_list ();--init array.Sub:='ORA-26786:

Oracle in Extents

Oracle in Extents Characteristics:1: A extent consists of multiple blocks that are connected, and multiple extents form a segment,2:oracle When allocating space for segment, extent is the unitSo extents brings benefits:1: Space

Oracle 11g RAC Open Archive log and flashback

1. Check if the database is turned on for flashback (view two nodes Rac1 and RAC2 Open Archive log)Sql> archiveloglistSp2-0734:unknown command Beginning "Archivelog ..."-rest of line ignored.Sql> Archive Log ListDatabase log mode No Archive

Simple Learning for Oracle table spaces

1. Rename the table space:alter tablespace original tablespace name rename to new table space namePS:(1) system and Sysaux table spaces cannot be duplicate names(2) If any of the data in the table space is offline or the table space is offline, you

Oracle Partition Table

Partition Table PurposePartition table by the judge of the partition column, the partition column of different records, put into different partitions. Partitions are completely transparent to the application. Oracle's partitioned tables can include

Use of the Oracle trunc () function

Use of the Oracle trunc () function1.TRUNC (for dates)The date value that the Trunc function truncates for the specified element.Its specific syntax format is as follows:TRUNC (Date[,fmt])whichDate a datetime valueFMT date format, which is truncated

View and Unlock Oracle Locks

When a database user inserts, updates, deletes data from a table in a database, or increments a table's primary key or the table's index,There are often errors such as Ora-00054:resource busy and acquire with nowait specified.The main reason is that

Remember Oracle's undo table space Full analysis process

This article is a record of an Oracle database Undo table Space Full analysis process, the main collation, carding the colleagues analysis of the idea. The process is as follows:In the morning, I received an alarm message from the database server's

Oracle lock table, unlock

The situation I encountered:When querying a table with a SELECT statement, followed by for update,Select from Table for updateWhen you modify the data in the table, but do not have a commit to turn off PL/SQL, the next time to open the execution

Oracle Replies to deleted data

There are two methods: SCN and time stamp two methods of recovery.I. Recovering deleted and committed data through the SCN1. Obtain the SCN number of the current databaseSelect Current_scn from V$database; (Switch to SYS user or System user

Modify the password for the Oracle system user systems

C:\users\administrator>echo%oracle_sid%%oracle_sid%C:\Users\Administrator>SetOracle_sid=Orclc:\users\administrator>sqlplus/ asSysdbasql*plus:release11.2.0.1.0Production on Sunday September - the:Geneva: - .Copyright (c)1982, ., Oracle. All rights

Oracle's bound Variable 2

Bind variable (bind variable) We often use it in writing plsql, so let's take a look at the difference between static SQL in Plsql and dynamic SQL in bound variablesDECLARE v_value_a varchar2 (100);    V_value_b varchar2 (100);    V_name VARCHAR2 (a)

Oracle Learning NOTE 2

User management:1. Create a user (to log on with DBA authority to create a Sys/system login)Create user username identified by password (password starts with a letter);2. Change the password to the user1>alter user username identified by new

Self-increment-sequence-sequence in Oracle

None of the previous versions of Oracle 12c are self-contained, and if you need to use a self-add column, you need to sequence. DROP TABLE CustomerOrder PURGE;CREATE TABLE CustomerOrder(ORDERID number is not NULL,PRODUCTID

Oracle Basic Queries

SELECT * FROM teacher--female teacher number, nameSelect Tno,tname,gendar from teacher where gendar= ' woman '--Han's female teacher number, name, ID numberSelect Tno,tname,tid from teacher where gendar= ' women ' and tname like ' Korean '--Salary

Oracle Paging Query

SELECT * FROM teacher where tno>1090--Recall the MySQL page beforeSELECT * FROM teacher limit (pageIndex-1) *pagesize,pagesize--oracle need pseudo-columns for paging? What is a pseudo column!--pseudo-column can be queried from the table to! Each

Oracle user-to-table space relationships

Oracle user-to-table space relationshipsuser = MerchantTable = CommodityTable Space = Warehouse1.1 businesses can have a lot of goods, 1 products can only belong to one business2.1 items can be placed in warehouse A, can also be placed in warehouse

Oracle Database Backup

Never give up, everything is possible!!!Only to find a way to succeed, not to find excuses for failure!Oracle database Backup 1. File ViewThe data files, control files, and log files are viewed as follows:From V$datafile; -- View data file from

Oracle 12c far sync active replicuard architecture uses DGMGRL for configuration management

Oracle 12c far sync active replicuard architecture uses DGMGRL for configuration managementI have been learning Oracle 12C database recently, so I have reviewed some documents. Here I will mainly introduce how to configure the DG Broker on the

Total Pages: 2147 1 .... 1579 1580 1581 1582 1583 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.