清空表數據

-- 清空所有數據,不寫日誌,不可恢復,速度極快日誌

truncate table 表名;code

 

-- 清空所有數據,寫日誌,數據可恢復,速度慢table

delete from 表名數據

相關文章
相關標籤/搜索