無為

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

            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 


          凡是有該標(biāo)志的文章,都是該blog博主Caoer(草兒)原創(chuàng),凡是索引、收藏
          、轉(zhuǎn)載請(qǐng)注明來處和原文作者。非常感謝。

          posted on 2011-08-25 21:50 草兒 閱讀(2191) 評(píng)論(0)  編輯  收藏 所屬分類: DB編程
          主站蜘蛛池模板: 股票| 长春市| 洛南县| 阿鲁科尔沁旗| 县级市| 五河县| 区。| 读书| 曲阜市| 华亭县| 孟连| 廊坊市| 利辛县| 兴山县| 霍邱县| 雷山县| 松原市| 崇文区| 安西县| 宜宾市| 将乐县| 普兰店市| 桐乡市| 巴马| 海口市| 望谟县| 长沙县| 霍山县| 合水县| 铁力市| 华阴市| 湖北省| 疏附县| 本溪市| 马尔康县| 迭部县| 扎兰屯市| 砀山县| 阳东县| 凤翔县| 丽江市|