Skip navigation links

MySQL Forums :: Sample Database (Sakila) :: How do i reinitialize auto increment


Advanced Search

How do i reinitialize auto increment
Posted by: harishanker srivastava ()
Date: May 19, 2012 05:56AM

hi friends ,

i have created a table called student (stid ,stname,stmarks) where stid is primary key and auto increment. But after deleting some records i want to re arrange my stid but i am unable to do so .

Can anybody please tell me how can i re initialize my Auto increment field.




thanks

www.bestjobstore.com
-----------------------
Latest Technological Updates, Tips and Tricks ,Tutorials , How Tos , Online Business and many more .

Options: ReplyQuote


Subject Views Written By Posted
How do i reinitialize auto increment 891 harishanker srivastava 05/19/2012 05:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.