in mysql i have a field named S_No which i placed on auto_increment. whenever i delete the second row from the database and next time when i m trying to add another row in database its starts from the 3rd incremental value and basically i don't want it, i wana that it again starts from the second incremental value.
thankful on reply.....
Reg@rds*****
ismael ahm@d
0
Newbie Poster
Recommended Answers
Jump to Postsorry, but that's how auto-increment works.
live with it.
All 4 Replies
drjohn
56
Posting Pro in Training
preetg
0
Junior Poster in Training
ismael ahm@d
0
Newbie Poster
drjohn
56
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.