View Single Post
  #2  
Old 07-15-2009, 12:50 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

I don't think this will work because we use MyISAM on the items table, but check this out:
How to copy row(s) into same Table

Quote:
Re: How to copy row(s) into same Table
Posted by: Marc Antonijoan ()
Date: May 06, 2008 07:35AM

I did it using this SLQ query:

SELECT row_1 FROM table FOR UPDATE;
UPDATE table SET row_2 = row_1;


It worked just fine.

Check this web page for more info:

http://dev.mysql.com/doc/refman/5.0/...ing-reads.html

Marc
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote