View Single Post

   
  #1 (permalink)  
Old 02-28-2008, 05:23 AM
Adam Zerlin
 
Posts: n/a
Default Retaining last primary key value

Hello,

When I run a DELETE FROM table_name, my primary key field is reset
back to 1. Is there any way for it to not do this? Preferably, if
there were 1000 records in table_name, and I ran DELETE FROM
table_name, that the primary key field would start at 1001.

This is an InnoDB table if that helps.

Thanks!
Reply With Quote