Jump to content

Resetting Counter


lilman

Recommended Posts

Wow - that is exactly the same exact question I have.

Call me annal retentive, but when I originally built the table I had a way to do it that set it to 1001 as the starting point. Because it is our member list I would like to have the new data load starting with 1001.

It is an AR thing I know because from the functioning of the database it makes absolutely no difference. But it is something I want to do, so what would be the SQL statement to do it?

I tried
[quote]ALTER TABLE directory MODIFY user_id AUTO_INCREMENT = '1001'[/quote]


But that bombs - I am trying to modify it in PHPAdmin.
Link to comment
https://forums.phpfreaks.com/topic/27802-resetting-counter/#findComment-127204
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.