無為

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

            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 草兒 閱讀(2180) 評論(0)  編輯  收藏 所屬分類: DB編程
          主站蜘蛛池模板: 奉新县| 浙江省| 清远市| 洛南县| 茌平县| 收藏| 仙居县| 鄂尔多斯市| 合江县| 定安县| 海盐县| 大方县| 临猗县| 蓬安县| 文安县| 宣城市| 龙里县| 策勒县| 山西省| 双辽市| 安福县| 姚安县| 阜新| 乌兰察布市| 库伦旗| 大余县| 永吉县| 航空| 阜新| 湘潭市| 定远县| 汽车| 白沙| 龙岩市| 兴化市| 武威市| 红河县| 监利县| 武清区| 桃江县| 富平县|