oracle sql

时间:2014-11-12 11:59:56   收藏:0   阅读:237

Data Definition

          CREATE, to create a new database object
          ALTER, to change an aspect of the structure of an existing database object
           DROP, to drop (remove) a database object

Data Manipulation and Transactions

         INSERT, to add rows to a table
         UPDATE, to change column values of existing rows
         DELETE, to remove rows from a table

 

COMMIT, to confirm all pending changes of the current transaction
ROLLBACK, to cancel all pending changes and restore the original situation

 

DELETE empties a table; DROP removes a table. TRUNCATE allows you to delete all the rows in a table in an efficient (but irrevocable) way.
UPDATE changes the contents of a table; ALTER changes its structure.
You can undo the consequences of data manipulation with ROLLBACK; data definition commands are irrevocable.

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!