SirPereira Posted April 3, 2010 Share Posted April 3, 2010 Hey guys, Imagine that I've been filling my database for testing. And now I want to put it online, so I want to clear all items, but I want the count to start at 0, not at the previously created item id. How can I reset that? Regards Quote Link to comment https://forums.phpfreaks.com/topic/197441-reset-id-count/ Share on other sites More sharing options...
ignace Posted April 3, 2010 Share Posted April 3, 2010 TRUNCATE TABLE tableName Quote Link to comment https://forums.phpfreaks.com/topic/197441-reset-id-count/#findComment-1036319 Share on other sites More sharing options...
SirPereira Posted April 3, 2010 Author Share Posted April 3, 2010 Really thank you Always learning Quote Link to comment https://forums.phpfreaks.com/topic/197441-reset-id-count/#findComment-1036521 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.