数据库中的DML,DCL,DDL分别是那些操作?
来源:互联网 发布:wampserver修改端口 编辑:程序博客网 时间:2024/05/01 02:33
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
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML,DCL,DDL分别是那些操作?
- 数据库中的DML、DDL、DCL区别
- 数据库: DML、DDL、DCL
- 数据库 DDL","DML","DCL"
- SQL中的DML,DDL,DCL分别表示的是什么
- 数据库DDL、DML和DCL
- 数据库DDL,DML,DCL,TCL
- 数据库DML、DDL、DCL区别
- DML、DDL、DCL三者定义(数据库的操作)
- 数据库操作语句类型(DQL、DML、DDL、DCL)简介
- 数据库操作语句类型(DQL、DML、DDL、DCL)简介
- 再谈:自定义结构体的对齐问题之__attribute__ ((packed))方法
- 数据挖掘 应用案例集
- 设计模式 Design Parttern ——桥模式Bridge
- (转)最好的求平方根的方法(精确度VS速度)Best Square Root Method - Algorithm - Function (Precision VS Speed)
- Agile PLM 9.3.1 安装 checklist
- 数据库中的DML,DCL,DDL分别是那些操作?
- perldoc用法
- DataTable 的数据写入到 Excel中
- 今天开始ACM竞赛备战之旅
- c# 获取字符串中的数字
- 钢笔
- bitmapdata.draw方法与负坐标部分截图
- stdafx.h的作用
- 开放定址散列表(线性探测法)实现文件C语言