Oracle DDL,DML,DCL,TCL 基础概念
来源:互联网 发布:红米note2网络设置 编辑:程序博客网 时间:2024/04/27 21:17
DDL
Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples:
CREATE - to create objects in the database
ALTER - alters the structure of the database
DROP - delete objects from the database
TRUNCATE - remove all records from a table, including all spaces allocated for the records are removed
COMMENT - add comments to the data dictionary
RENAME - rename an object
DML
Data Manipulation Language (DML) statements are used for managing data within schema objects. Some examples:
SELECT - retrieve data from the a database
INSERT - insert data into a table
UPDATE - updates existing data within a table
DELETE - deletes all records from a table, the space for the records remain
MERGE - UPSERT operation (insert or update)
CALL - call a PL/SQL or Java subprogram
EXPLAIN PLAN - explain access path to data
LOCK TABLE - control concurrency
DCL
Data Control Language (DCL) statements. Some examples:
GRANT - gives user's access privileges to database
REVOKE - withdraw access privileges given with the GRANT command
TCL
Transaction Control (TCL) statements are used to manage the changes made by DML statements. It allows statements to be grouped together into logical transactions.
COMMIT - save work done
SAVEPOINT - identify a point in a transaction to which you can later roll back
ROLLBACK - restore database to original since the last COMMIT
SET TRANSACTION - Change transaction options like isolation level and what rollback segment to use
本文转自:http://www.cnblogs.com/gnielee/archive/2009/07/31/1535621.html
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/meteorlWJ/archive/2010/04/08/5462292.aspx
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DDL,DML,DCL,TCL 基础概念
- Oracle DML DDL DCL TCL
- DDL、DML、DCL、TCL概念详细解释
- MySQL-基础-DDL、DML、DCL、TCL详解
- Oracle DDL,DML,DCL,TCL 总结
- ubuntu修改初始root密码
- 进化的理由
- Linux 启动顺序
- Oracle E-Business Suite产品主要ERP模块
- linux vi命令大全
- Oracle DDL,DML,DCL,TCL 基础概念
- 44444444444444444444
- 滚动条编程
- wine中文问题及wine下QQ安装问题
- Linux Find 命令精通指南
- firefox扩展,正则表达式
- RA Offer
- Silverlight实例教程 - Out of Browser在线更新和Silent安装
- 消息==任务?解释一个问题