AR>> I want to write sql query to duplicate a row. It has a PRI key called ID.
AR>> The MySQL database looks like

AR>> ID        Name        Address
AR>> 345      Aman        42, sb
AR>> 346........
AR>> 347.......

AR>> I want to duplicate the ID=345.

AR>> Any suggestions ?

VR> You can have duplicate values in the columns that specified as PRIMARY
VR> KEY or UNIQUE.

Oops! Sorry, my typo :(
I mean you can't have duplicate values ..



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to