Delete, Truncate or Drop MySQL question

Posted by Pete Herbert Penito on Stack Overflow See other posts from Stack Overflow or by Pete Herbert Penito
Published on 2010-04-08T16:16:03Z Indexed on 2010/04/08 16:23 UTC
Read the original article Hit count: 444

Filed under:
|
|
|

Hi Everyone!

I am attempting to clean out a table but not get rid of the actual structure of the table, i have the following columns: id, username, date, text

the id is auto incrementing, I don't need to keep the ID number, but i do need it to keep its auto-incrementing characteristic. I've found delete and truncate but I'm worried one of these will completely drop the entire table rendering future insert commands useless.

Thank you, Everybody!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about delete