無為

          無為則可為,無為則至深!

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            190 Posts :: 291 Stories :: 258 Comments :: 0 Trackbacks
          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 


          凡是有該標志的文章,都是該blog博主Caoer(草兒)原創,凡是索引、收藏
          、轉載請注明來處和原文作者。非常感謝。

          posted on 2011-08-25 21:50 草兒 閱讀(2190) 評論(0)  編輯  收藏 所屬分類: DB編程
          主站蜘蛛池模板: 简阳市| 莱阳市| 卢湾区| 东台市| 万全县| 马尔康县| 江陵县| 华阴市| 乌恰县| 龙岩市| 余干县| 慈利县| 湟中县| 万山特区| 库车县| 灵川县| 新泰市| 高青县| 济南市| 梨树县| 高阳县| 民乐县| 都安| 富蕴县| 庆城县| 五河县| 佛教| 新邵县| 黔东| 星子县| 安宁市| 涿州市| 富裕县| 万盛区| 磐石市| 渝中区| 朝阳区| 嵊州市| 黄石市| 弥渡县| 兴义市|