Oracle Learning 1

Source: Internet
Author: User

SQL statements are divided into 3 categories

1.ddl:data definition Language, data definition language,

The language used to define and manage all objects in the SQL database

1.CREATE creation
2.ALTER modification
3.DROP Delete
5.COMMENT comments
6.GRANT Licensing
7.REVOKE Reclaim the permissions that have been granted

Second, dml:data manipulation Language, data manipulation language,

Operations such as manipulating data in SQL are collectively referred to as data manipulation languages
1.INSERT add
2.DELETE Delete
3.UPDATE Update
4.SELECT Query
7.LOCK TABLE lock for controlling concurrency

Third, Dcl:data control Language statements. Data Controller language,

Used to grant or reclaim some kind of privilege to access the database, and to control the time and effect of database manipulation transactions , to monitor the database, etc.
Commit Commit
SavePoint Save Point
ROLLBACK rollback
Set TRANSACTION sets the characteristics of the current transaction, which has no effect on subsequent transactions.

Oracle Learning 1

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.