1. Initial data:Sql> select * from A; ID NAME--------------------------------------------1 1sql> select * from B; ID NAME--------------------------------------------1 2
CREATE TABLE T (student_id number,course VARCHAR2 (Ten), score number);INSERT into t values (1, ' language ', 80);INSERT into t values (1, ' math ', 85);INSERT into t values (2, ' language ', 90);INSERT into t values (2, ' math ', 88);INSERT into t
1. The first step,First look at the storage path of the variable space--View Tablespace file pathSelect Tablespace_name,file_id,bytes/1024/1024,file_name From Dba_data_files order by file_id;2. Execute create temporal tablespace statement
DROP TABLE TEST PURGE;CREATE TABLE TEST (po_number VARCHAR2 (+), Product_Name VARCHAR2 (+), quantity number);INSERT into TEST VALUES (' CJ201300048 ', ' tp-link network switch TP-1024DT ', 2);INSERT into TEST VALUES (' CJ201300049 ', ' 4-way/Trenton
Object statistics Describe how data is stored in a database, and the query optimizer uses these statistics to make the right decisions. There are three types of object statistics in Oracle: Table statistics, column statistics, and index statistics.
Preface: Only follow the master introduction, can take less detours, English documents is the most authoritative learning materials.(1), find the official online documentation for Oracle databaseThe following are the official online documentation
The first time to install Oracle yourself, before the Oracle installation configuration is not in the past, finally fix, summed up.1. Install oracle10g server side2, install oracle10g client. The server side and client are not necessarily installed
This article lists several ways to export data from an Oracle table to a TXT file, currently only three methods are listed, if the subsequent discovery of better methods will continue to be added.1.plsqldev There is an option to put the table in
Usage of Aggregate functions count, max, min, sum, avg, and NVL in oracleUsage of Aggregate functions count, max, min, sum, avg, and NVL in oracle
The grouping function aggregate function performs computation on a column in a group of rows and
Handling Method for Rapid growth of oracle archive logs
Oracle archive logs are generally generated by dml statements, so the increase speed should be too frequent by dml.
First, query the generation of the following daily archives:
Select trunc
Oracle Data ProcessingDML Language &: address character; (PrepareStament) Batch Processing: insert -------- insert employees of Department 10 to a new table at a time; Do not write values statements; the Value List in the subquery should correspond
Use of rownum in Oracle for sorting in result sets
Use of rownum in Oracle for sorting in result sets
For the rownum problem in Oracle, many documents do not support>, >=, =, between... and. The preceding symbols can only be used (,> =, =, .. and
Install Oracle11gR2 in RedhatLinux
Official documents: http://docs.oracle.com/cd/E11882_01/nav/portal_11.htm
1: Basic Environment
Redhat Enterprise Linux 6.132bit
Memory: 1 GB
Disk Space: 30 GB
2: Check the packages required for Oracle 11G. If the
Oracle current row function date
Date of use
Oracle internal use of digital storage date: century, year, month, day, hour, minute, second.
The default date display format is DD-MON-RR.
-- Only the last two digits of a year can be specified,
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