Search the Whole World Here.,.,

SQL - Delete All Data


It is possible to delete all rows in a table without deleting the table. This means that the table structure, attributes, and indexes will be intact:
DELETE FROM table_name;

or

DELETE * FROM table_name;
Note: Be very careful when deleting records. You cannot undo this statement!


EmoticonEmoticon