Jeff Snoxell wrote:

"DELETE FROM my_table_name"

should reset it... but it doesnt'.

I'm glad the DELETE FROM doesn't, or else my foreign keys would all get screwed up :)

TRUNCATE should do what you want (as someone else pointed out).

--
Michael T. Babcock
C.T.O., FibreSpeed Ltd. ... SQL
http://www.fibrespeed.net/~mbabcock



---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to