Primary Key

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Primary Key

Postby SirChick » 02. November 2007 14:00

Hey guys quick question,

Is there way to always make sure inserting new rows take a unique number in the database but not necessarily doing an "auto increment"

Because say the 3rd row was deleted that leaves ID 3 available.. then i would rather the next newest insert to take ID 3 rather than the one at the very end.. which is what happens using auto increment.. how is this done?
Posts: 68
Joined: 19. June 2007 15:03
Operating System: Windows 7 64 bit

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 97 guests