Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

delete all rows from table mysql

-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With rollback
DELETE FROM my_table;
COMMIT;
 
PREVIOUS NEXT
Tagged: #delete #rows #table #mysql
ADD COMMENT
Topic
Name
5+6 =