copy or duplicate a mysql record

copy a record in mysql: in one line, woot

(Via grumpy beer geek.)

Update:Caveat: unless you’re trying to copy a record to the same table that has an auto_increment index on it. No go. Pisser.

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter
Bookmark and Share