You have 2 options for delete and truncate :
1) delete from mytable : This will delete the entire contents of the table, and not the registry auto-increment identifier, this process is very slow. If you want to delete specific entries, add a where clause at the end.
2) truncate myTable : This will reset the table, that is, all automatic incremental fields will reset. This is DDL and very fast. You cannot delete any specific entry through truncate
Sashi Kant Aug 16 '13 at 11:12 2013-08-16 11:12
source share