Oracle DDL,DML,DCL,TCL 基礎概念
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
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
Data Control Language (DCL) statements. Some examples:
- GRANT - gives user's access privileges to database
- REVOKE - withdraw access privileges given with the GRANT command
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
作者:李敬然(Gnie)
出處:{GnieTech} (http://www.cnblogs.com/gnielee/)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15592508/viewspace-717244/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Mysql 基礎操作 DDL DML DCLMySql
- DDL,DML,DCL,TCL四種語言的簡介
- DML、DDL、DCL區別
- DDL,DML,DCL區別
- MySQL--基礎知識點--DDL/DCL/DML/DPL/DQL/CCLMySql
- DDL、DML、DCL、DQL相關操作
- 資料庫:淺談DML、DDL、DCL的區別資料庫
- 【開發篇sql】 基礎概述(三) DDL和DMLSQL
- Oracle基礎概念Oracle
- oracle support nologging ddl dmlOracle
- oracle goldengate 配置DML&DDL實驗OracleGo
- Oracle DBLINK 抽數以及DDL、DML操作Oracle
- oracle 監控 DML DDL 鎖 的4個檢視Oracle
- oracle---oracle的單向ogg搭建流程(DML+DDL)Oracle
- Mysql資料庫學習(一):資料庫基本概念、關係型資料庫、Mysql資料庫安裝配置、DDL/DCL/DML語句MySql資料庫
- SQL學習___02:DDL+DCL語法SQL
- DML操作 DDL觸發器觸發器
- Oracle DML/DDL同步資料(OGG_12.2_for_Windows)OracleWindows
- MySQL基礎之DML語句MySql
- Oracle RAC Cache Fusion 系列一:基礎概念Oracle
- 深入瞭解Oracle ASM(一):基礎概念OracleASM
- Oracle goldengate 11g (二)【DML and DDL單向複製】OracleGo
- ORACLE 11g新特性-允許DDL鎖等待DML鎖Oracle
- TCL指令碼語言基礎介紹指令碼
- Vue 基礎概念Vue
- MySQL基礎概念MySql
- HTTP基礎概念HTTP
- JVM 基礎概念JVM
- Vue基礎概念Vue
- Elaticsearch基礎概念
- Bamboo基礎概念
- performing DML/DDL operation over object in binORMObject
- MySQL的DDL和DML操作語法MySql
- oracle dbms_sql執行查詢select_dml_ddl(一)OracleSQL
- Oracle 19C Data Guard基礎運維-08 DML重定向Oracle運維
- 【學習】SQL基礎-011-TCLSQL
- Begin end程式碼段裡面有DDL和DML,如果DDL成功了而DML失敗了,則DDL的程式碼也會回滾
- 使用Logminer工具分析DML和DDL操作