"ORACLE" SQL statement simple Application (v) (11g)

Source: Internet
Author: User

Not NULL non-null field +not null

Unique only

Primary key primary key (ensure data cannot be duplicated)

FOREIGN key foreign key

Check must

Drop purge completely removed

Cascade Delete: Delete A department, the staff in the department then delete the --->on delete cascade

Empty: Transfer employees from the department to Null, delete Department --->on delete set null

Cannot move: Delete the employee first, then delete the department

References Reference

Constraint constraints

tables created with subqueries in addition to null, constraints cannot be copied

Col first_name for A10

Read only: can only query, no additions and deletions (readonly) unlock read only

where 1=2; do not copy table contents

Increment by each add value

Start with from where

MaxValue added to maximum value

Nocycle Cycle

NoCache put the serial number into memory.

Modify in Index: Delete and insert first

"ORACLE" SQL statement simple Application (v) (11g)

Related Article

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.