码迷,mamicode.com
首页 > 数据库 > 详细

oracle sql

时间:2014-11-12 11:59:56      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:oracle

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.

oracle sql

标签:oracle

原文地址:http://455178278.blog.51cto.com/2111863/1575598

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!