無為

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

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            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(草兒)原創(chuàng),凡是索引、收藏
          、轉載請注明來處和原文作者。非常感謝。

          posted on 2011-08-25 21:50 草兒 閱讀(2191) 評論(0)  編輯  收藏 所屬分類: DB編程
          主站蜘蛛池模板: 英吉沙县| 新余市| 阳原县| 武安市| 龙南县| 哈尔滨市| 花莲市| 平泉县| 德化县| 巩留县| 兰坪| 阳泉市| 泉州市| 英德市| 开平市| 灵川县| 苍梧县| 湘潭市| 临清市| 琼海市| 金山区| 潍坊市| 新民市| 富蕴县| 榕江县| 邵武市| 高碑店市| 荥经县| 宣城市| 广安市| 龙井市| 彝良县| 夏邑县| 敦煌市| 陈巴尔虎旗| 栖霞市| 巫溪县| 桑日县| 静海县| 朝阳县| 安溪县|