刪除delete、truncate和drop的區別

出處:菜鳥教程http://www.runoob.com/mysql/mysql-drop-tables.htmlhtml 刪除表內數據,用 delete。格式爲: delete from 表名 where 刪除條件; 實例:刪除學生表內姓名爲張三的記錄。mysql delete from student where T_name = "張三"; 清除表內數據,保存表結構,用 truncate
相關文章
相關標籤/搜索