刪除記錄
在【命令編輯區】輸入“delete from scott.test where empno>=7500 and empno<=8000;”
刪除記錄的語法:delete from 數據表 where 條件
整表數據刪除
【命令編輯區】輸入“truncate table scott.test ;”
truncate table命令將快速刪除數據表中的所有記錄,但保留數據表結構。這種快速
刪除與delete from 數據表的刪除全部數據表記錄不一樣,delete命令刪除的數據將存儲
在系統回滾段中,需要的時候,數據可以回滾恢復,而truncate命令刪除的數據是不可
以恢復的。