News

This article explains the use and difference of delete, truncate and drop statements of mysql.1. delete : delete command is used to delete all or specific records from mysql table. the records delete ...
TRUNCATE comes under DDL(Data Definition Language). TRUNCATE removes only rows from the table but the structure of the table remains same. Data can not be roll backed if we use "TRUNCATE" command to ...
When extending PHPUnit_Extensions_Database_TestCase, a TRUNCATE statement seems to be executed for all tables found in the fixture. These TRUNCATE statements result in an Exception. ... "In MySQL 5.5 ...
In general truncate and reload is the easiest option - for the reason that you don't have to worry about what's changed and any back door updates to the source database will be reflected in the ...