Clear data

  • How to clear all the data in a table with out deleting the database of a particular tables starts with "%".

  • Delete from table_name

    Truncate table table_name

    Are you trying to remove all the rows from a certain table without deleting the actual table??

  • yes , we want a empty tables for testing

  • Then use this

    truncate table table_name

    or

    delete from table_name

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply