SQL is required. Note: Chapter 13th creates an advanced join. SQL is required.13.1 use table alias
In addition to column names and calculated fields, the SQL statement allows you to specify aliases. There are two main reasons for doing this:(1) Shorten SQL statements(2) The
Tags: Oracle server notebook CopyrightPrepare to start learning Oracle from scratch.I said 2016 years to write a weekly technical blog. So from now on.Today we have a problem with a weak explosion:A notebook was replaced a few days ago, and the Oracle 11g R2 is installed on the new notebook. Use DBCA installed database without error, shut down the computer to sle
SQL advanced (1) -- regular functions, SQL -- Functions
When we compare and process strings, the like clause may be used at most. % Represents one or more characters, and _ represents one character. However, when processing complex strings, we find that this is far from what we need. So this low-end, not beautiful statement. Of course, we will not abandon them. A
Oracle Advanced Training Course 1st learning notes revised the page number in this course notes corresponds to Oracle9i Database Management Basics II ed 1.1 vol.1.pdf
Guide: http://blog.csdn.net/magus_yang/archive/2006/10/10/1328283.aspx Author: jackyang (JackYang.sh@gmail.com) Time: 2006-10-10 p151 restore (Restore) and recovery (recovery) Difference: Restore, just copy back the backup file back. Recovery
Constraint on ALTER table if you create a FOREIGN KEY constraint for the id_p column if the Orders table already exists, use the following sql:Mysql/sql Server/oracle/ms Access:ALTER TABLE ordersadd FOREIGN KEY (id_p) REFERENCES Persons (id_p)If you need to name the FOREIGN key constraint and define the FOREIGN key constraint for more than one column, use the following
This article briefly introduces the advanced replication function of ORACLE, and discusses how to use advanced replication to achieve data unification between the Intranet and the Internet through an actual project, finally, the configuration script is provided for your reference. 1. Basic Concepts ORACLEORACLE is a large-scale relational database based on
target end to the source end. The two ends must communicate with each other because of information interaction.
REPADMIN @ leo2> create database link leo1.com connect to repadmin identified by oracle using 'leo1 ';
Database link created.
Copy group rep must be restarted
REPADMIN @ leo1> execute dbms_repcat.suspend_master_activity ('rep '); pause
PL/SQL procedure successfully completed.
REPADMIN @ leo1> exe
SQL advanced (8) data type, SQL data typeSQL advanced (8) data type Character string:
Data Type
Description
Storage
Char (n)
A fixed-length string. It can contain a maximum of 8,000 characters.
N
Varchar (n)
A variable-length string. It can contain a maximum of 8,000 characters
BODYEND function_name;key ———— The difference between a function and a stored procedure:1) functions and procedures are similar, the difference is that the function must return a value, and the stored procedure is only to perform a series of operations.2) at the time of invocation, the function can be called as part of an expression and can be used in select. A stored procedure can only be called as a PL/SQL statement and cannot be used in a SELECT s
Tags: subquery single row subqueryThis section will discuss all of a sudden query for more complex applications, mainly to simplify SQL, improve performance from the side, of course. There are many more places to improve performance. Today I listened to a lecture on Oracle's performance tuning to understand all aspects of Oracle performance and optimization. Whil
Oracle Advanced Programming
Oracle's advanced programming mainly involves the use of the ten objects in the database. Here, I will share with you some of my notes on these skills. Hope to help you!
Before reading this article, you can also refer to my previous database introduction:
Basic Oracle DDL operationsBasic
This article briefly introduces the advanced replication function of Oracle, and discusses how to use advanced replication to achieve data unification between the Intranet and the Internet through an actual project, finally, the configuration script is provided for your reference.
1. Basic Concepts
OracleOracle is a large-scale relational database based on
Tags: Database design Oracle Database systemThe following is a formal introduction to the actual large-scale projects Oracle the advanced design and development of the content, the following explanation Oracle both the content and the sample programs are based on ORACLE11R2 . in order to prevent from actually doing a b
The page number in the notes for ORACLE Advanced Training Course 2nd learning notebook corresponds to Oracle9i Database Management Basics II ed 1.1 vol.1.pdf
Guide: http://blog.csdn.net/magus_yang/archive/2006/10/10/1328283.aspx Author: jackyang (JackYang.sh@gmail.com) Time: 2006-10-10 three statuses of database startup: 1. 3 steps of opening nomount2. mount3. Open Database: 1. enter the nomount status, ope
user repadmin who copied the database.① Log on to the Shenzhen database as a repadmin userSQL> CREATE DATABASE LINK beijing.test.com.cn connect to repadmin identified by repadmin;Test the private database link:SQL> select * From global_name@beijing.test.com.cn;The returned result is beijing.test.com.cn.② Log on to the Beijing database as repadminSQL> CREATE DATABASE LINK shenzhen.test.com.cn connect to repadmin identified by repadmin;Test the private database link.SQL> select * From global_name
The following is a formal introduction to the actual large-scale projects Oracle the advanced design and development of the content, the following explanation Oracle both the content and the sample programs are based on ORACLE11R2 . in order to prevent from actually doing a bunch of theories, I try to use practical examples to illustrate the problem, of course, s
Rollup and cube of Oralce advanced SQLIn oracle SQL query, oracle provides some advanced functions to simplify SQL query statements and improve query performance. The following describes the usage and difference of rollup and cube
Programmers who write large terminals often have the illusion that the SQL language is simple and the DBA works easily, especially for Android programmers who are accustomed to SQLite and its extended framework Ormlite and Greendao. Especially when an Android programmer sees himself in college and hangs up and repeats his lost friend after working as a DBA: "If you don't study hard, you can only use SQL add
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.