Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

set all auto_increment values in sql

SET  @num := 0;
UPDATE your_table SET id = @num := (@num+1);
/*set All previous values one by on*/
 
PREVIOUS NEXT
Tagged: #set #values #sql
ADD COMMENT
Topic
Name
3+7 =