|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Mysql & other databases - Id question
Hi,
If I delete users from my database I lose their id number. For example: I have 2 users their id is 1 and 2. If i delete the second users and a new user registers at my site his id number won't be 2 but 3, whereas i only have 2 users. It's not a big deal, but I'm curious if there is any way to optimize the tables or something and clear those "gaps"? Thank you |
|
#2
|
|||
|
|||
|
You should add a new data field like customerid not using autoincreasement.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Mysql & other databases - Id question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|