DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+7 =
Submit