Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

remove all records from table mysql

/* Will delete all rows from your table. Next insert will take next auto increment id. */
DELETE from tableName;
/* Will delete all rows from your table but it will start from new row with 1. */
TRUNCATE tableName;
 
PREVIOUS NEXT
Tagged: #remove #records #table #mysql
ADD COMMENT
Topic
Name
8+5 =