Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

delete and start from 1 primary key muysql

alter table yourTableName AUTO_INCREMENT=1; 
truncate table yourTableName; 

//After doing the above two steps, you will get the primary key beginning from 1
 
PREVIOUS NEXT
Tagged: #delete #start #primary #key #muysql
ADD COMMENT
Topic
Name
9+1 =