MySQL Forums
Forum List  »  Newbie

Copy Row in the same table
Posted by: Andrew Munsey
Date: November 12, 2007 03:11PM

Hi. I need some help!!!

I am writing an online auction site and now I am trying out the auto-relist script.
What happens when the listing ends I want to duplicate the old listing into a new row with a new ID number (ID is an Reference ID for each auction). Maybe something to do with auto_increment and setting ID = NULL.

Does anyone have any ideas?

Cheers!

Options: ReplyQuote


Subject
Written By
Posted
Copy Row in the same table
November 12, 2007 03:11PM
November 12, 2007 03:30PM
November 12, 2007 03:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.