I'm afraid there is no articles on this matter. You are facing a database
design matter.

Auto-increment primary keys must haven't any meaning other than just be the
primary key and relate one table to another, if you had a function to
"update" the auto-increment field to eliminate the holes that function
should manage tables relationships as well. As you can see it'll be very
difficult to implement and probably slows down the script, imagine check all
related tables !

Although you have holes in the sequence, the order between the reminiscent
records will be the same .

Auto-increment fields should not be exposed to the user.




PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to