Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql clear table

//to delete complete table and data
drop table 'table name'

//to clear only data in a table and keep table structure
truncate table 'table name'
 
PREVIOUS NEXT
Tagged: #mysql #clear #table
ADD COMMENT
Topic
Name
9+4 =