truncate 、delete與drop區別

truncate 做用:清空表中的數據;html truncate以後,自增屬性列的值被重置爲初始值; Any AUTO_INCREMENT value is reset to its start value. This is true even for MyISAM and InnoDB, which normally do not reuse sequence values.mysql 僅清空
相關文章
相關標籤/搜索