無為

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

            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編程
          主站蜘蛛池模板: 大足县| 建昌县| 监利县| 城口县| 盐城市| 安康市| 乾安县| 嵊州市| 汉源县| 宣恩县| 灵川县| 腾冲县| 夹江县| 伊宁市| 精河县| 神木县| 阿拉尔市| 墨脱县| 湘潭市| 杭州市| 三江| 弥渡县| 宁阳县| 临漳县| 岳阳县| 霸州市| 忻城县| 黑龙江省| 商南县| 将乐县| 嘉鱼县| 桃园市| 商都县| 蓝山县| 乌苏市| 阿图什市| 涿鹿县| 壶关县| 东辽县| 抚松县| 锦州市|