MySQL Tips & Tricks

Sunday, August 24, 2008

A Technique for Testing an Update Safely

Create a separate table
create table testtable as select * from realtable;

And execute the statement there.

In fact it wouldn't hurt to have an entire duplicate test database, which you can easily create with a data dump


Free Web Hosting with Website Builder

Labels: ,